Description
WordPress removes iframe when you switch from βHTMLβ to βVisualβ tab because of the security reasons.
Inline frames are needed to embed other page in your websserver, video from youtube or to embed Google Map or just to embed content from external page.
Usage (parameters)
* width – width of the iframe in pixels [embedsite width="100%" src="http://www.karthik.sg/blog/"]
or [embedsite width="640" src="http://www.karthik.sg/blog/"]
(by default width=β100%β);
* height – height of the iframe in pixels [embedsite height="480" src="http://www.karthik.sg/blog/"]
(by default height=β480″);
* src – source of the iframe [embedsite src="http://www.karthik.sg/blog/"]
(by default src=ββ);
* frameborder – frameborder parameter of the iframe [embedsite frameborder="0" src="http://www.karthik.sg/blog/"]
(by default frameborder=β0″);
* scrolling – scrolling parameter of the iframe [embedsite scrolling="no" src="http://www.karthik.sg/blog/"]
(by default scrolling=βnoβ);
* marginheight – marginheight parameter of the iframe [embedsite marginheight="0" src="http://www.karthik.sg/blog/"]
(by default marginheight=β0″);
* marginwidth – marginwidth parameter of the iframe [embedsite marginwidth="0" src="http://www.karthik.sg/blog/"]
(by default marginwidth=β0″);
* allowtransparency – allows to set transparency of the iframe [embedsite allowtransparency="true" src="http://www.karthik.sg/blog/"]
(by default allowtransparency=βtrueβ);
* id – allows to add the id of the iframe [embedsite id="my-id" src="http://www.karthik.sg/blog/"]
(by default id=ββ);
* class – allowing to add the class of the iframe [embedsite class="my-class" src="http://www.karthik.sg/blog/"]
(by default class=βiframe-classβ);
* same_height_as – allows to set the height of iframe same as target element [embedsite same_height_as="body" src="http://www.karthik.sg/blog/"]
,
[embedsite same_height_as=βdiv.sidebarβ], [embedsite same_height_as="div#content"]
,
[embedsite same_height_as=βwindowβ] – iframe will have the height of the viewport (visible area),
[embedsite same_height_as=βdocumentβ] – iframe will have the height of the document,
[embedsite same_height_as=βcontentβ] – auto-height feature, so the height of the iframe will be the same as embedded content
(works only with the same domain) (by default same_height_as=ββ);
Installation
Manual Install
- Unzip embedsite.zip
- Upload embedsite to your `/wp-content/plugins/` directory
- Activate the plugin through the βPluginsβ menu in WordPress
- Enjoy! Read the FAQif there’s any errors
Auto Install
1. From your wordpress admin plugins page
2. Install plugin and activate it
2. Add shortcode [embedsite width="100%" height="480" src="http://www.karthik.sg/blog/"]
to page or post content;
FAQ
Not Yet.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Inline frame – Iframe” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Inline frame – Iframe” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
First Release