Oembed for My Mitsu Estimation Form
v1.1水野史土 · 2017年4月14日 上架
This plugin allows users to put a My Mitsu form in your website.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 1,852
- 最近更新
- 2017年7月5日
贡献者
截图
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
<iframe src=”…” width=”…” height=”…”></iframe>
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 <iframe src=”https://my-mitsu.jp/estimation/274″ id=”mymitsu” width=”640″ height=”960″></iframe>
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;
}
