這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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