BACK TO DIRECTORY

Oembed for My Mitsu Estimation Form

by 水野史土

0.0
(0 ratings)

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

Screenshots

This plugin outputs an iframe.

This plugin outputs an iframe.

Plugin Details

Active Installs
10
Total Downloads
1,704
Version
1.1
Requires WP
4.0
Requires PHP
Tested Up To
4.8.30
Added
2017-04-14
Last Updated
2017-07-05 5:15am GMT

Ratings

5
0
4
0
3
0
2
0
1
0