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

首頁外掛目錄 › Oembed for My Mitsu Estimation Form
10+
安裝啟用
尚無評分
3176 天前
最後更新
問題解決
WordPress 4.0+ v1.1 上架:2017-04-13

內容簡介

My Mitsu 是日本的一個網路服務,允許使用者創建估價(計算)表格。這個強大的表格可以創建帶有計算的條件式表單,並輸出 PDF 文件。此外,您還可以創建 PayPal 支付鏈接。它非常適合商務人士使用。
https://my-mitsu.com/(寫成日語)

My Mitsu 允許您通過填寫 html 代碼將表格放入您的 WordPress 網站中,例如
<iframe src=”...” width=”...” height=”...”></iframe>

此外,這個外掛還允許您以簡單的方式輸出 iframe html 標記。只需填寫一個 url,即可輸出 iframe html 代碼。

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

寬度/高度由 $content_width 確定,其在您的佈景主題中設定。如果您計劃更改寬度/高度,可以使用篩選器勾提供。

注意*為了創建估價表單,您需要註冊 My Mitsu https://my-mitsu.jp/register 。

篩選器示例

此外,這個外掛允許您設置寬度和高度的值。您可以通過連接「mymitsu_oembed_width」和「mymitsu_oembed_height」篩選器來更改它們。這裡是一個示例代碼。

add_filter( 'mymitsu_oembed_width', 'my_embed_width' );
function my_embed_width() {
return 800;
}

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Oembed 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. Optionally, you can create a PayPal payment link. It is suited for business persons.
https://my-mitsu.com/ (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 url will ouput an iframe html code.
https://my-mitsu.jp/estimation/274 will output
The width/height is determined by the $content_width, which is set in your theme. If you plan to change the width/height, you can use a filter hook.

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 the values for width, and height. You can alter them by hooking the “mymitsu_oembed_width” and “mymitsu_oembed_height” filter. Here is a sample code.
add_filter( 'mymitsu_oembed_width', 'my_embed_width' );
function my_embed_width() {
return 800;
}

延伸相關外掛

文章
Filter
Apply Filters
Mastodon