這個外掛並未在最新的 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

評價

There are no reviews for this plugin.

貢獻者及開發者

“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