该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Shortcode for My Mitsu Estimation Form

描述

My Mitsu, is a webservice in Japan, allows users to create an estimation(calculation) form. A powerful form allows you to create a conditional form with calculation, and outputs a PDF file. It is suited for business persons.
Estimation Form Creator: My Mitsumori (written in Japanese.)

My Mitsu allows you to put a form into your WordPress website, by filling in a html code, like
<iframe src=”…” width=”…” height=”…”></iframe>

This plugin allows you to output an iframe html tag in a simple way. Simply filling in a shortcode will ouput an iframe html code.

[mymitsu]274[/mymitsu] will output <iframe src=”https://my-mitsu.jp/estimation/274″ id=”mymitsu” width=”640″ height=”480″></iframe>

Optionally, a shortcode accepts an ID, width, and height as attributes.

[mymitsu id=”myform” width=”800″ height=”600″]274[/mymitsu] will output <iframe src=”https://my-mitsu.jp/estimation/274″ id=”myform” width=”800″ height=”600″></iframe>

  • Note * In order to create an estimation form, you need to register My Mitsu https://my-mitsu.jp/register .

Filter Sample

This plugin allows you to set your default values for ID, width, and height. You can alter them by hooking the “mymitsu_default_atts” filter. Here is a sample code.

add_filter( 'mymitsu_default_atts', 'my_atts' );
 function my_atts() {
     return array(
         'id' => 'mymitsu',
         'width' => 480,
         'height' => 640
     );
 }

屏幕截图

  • This plugin outputs an iframe.

安装

  1. Install a plugin and activate it
  2. Upload shortcode_for_my_mitsu_estimation_form' to the/wp-content/plugins/` directory

评价

此插件暂无评价。

贡献者及开发者

“Shortcode for My Mitsu Estimation Form” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.3

  • make documentation translatable

1.2

  • add documentation

1.1

  • default for $content is NULL

1.0

  • initial release