[WordPress] 外掛分享: Shortcode for My Mitsu Estimation Form

首頁外掛目錄 › Shortcode for My Mitsu Estimation Form
WordPress 外掛 Shortcode for My Mitsu Estimation Form 的封面圖片
30+
安裝啟用
尚無評分
2417 天前
最後更新
問題解決
WordPress 2.5+ v1.3 上架:2017-03-12

內容簡介

My Mitsu 是一個在日本的網站,可以讓使用者建立估價表格。這個功能強大的表格可以建立條件式計算,並輸出 PDF 檔案。適合商務人士使用。
估價表格製作:My Mitsumori(日文網站)

My Mitsu 允許你透過填寫 HTML 代碼,將表格放到你的 WordPress 網站上,例如:
<iframe src=”…” width=”…” height=”…”></iframe>

這個外掛程式可以讓你簡單地輸出 iframe HTML 標籤。只需要填寫簡碼,就能輸出 iframe HTML 代碼。

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

你也可以在簡碼中加入 ID、寬度和高度等屬性。

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

注意:要建立估價表格,必須先註冊 My Mitsu https://my-mitsu.jp/register 。

篩選器範例

這個外掛程式允許你設定 ID、寬度和高度等屬性的預設值。你可以透過掛接到「mymitsu_default_atts」篩選器來更改它們,以下是範例程式碼:

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

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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

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
Optionally, a shortcode accepts an ID, width, and height as attributes.
[mymitsu id=”myform” width=”800″ height=”600″]274[/mymitsu] will output

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
);
}

延伸相關外掛

文章
Filter
Apply Filters
Mastodon