WordPress.org

Ready to get started?Download WordPress

Plugin Directory

IFrame Widget

IFrame widget can display any external HTML page inside an HTML IFrame component.

How can I change scroll-bar around the webpage on the IFrame?

If the dimension of the webpage you are trying to display within the IFrame exceeds the configured dimension of the IFrame (by default) will automatically add scrollbars. This option can be changed, using the "Display Scroll bars?" configuration option, you may chose to either display the scroll-bar always, or not at all or select auto to let IFrame decide whether to show the horizontal and/or vertical scroll-bar. If you are using the [dciframe] Markup then you may similarly supply the value as the 5th parameters as [dciframe]http://www.google.com,400,250,1,no,border:1px solid red;[/dciframe], for example (note that the fifth parameter value for scrolling has been set to "no", thus disabling any scrolling).

How do I add border to my IFrame?

To add a border to your IFrame Widget, select the option "Yes" as answer to "Display Frame border?". Then add the required style information in the "CSS Style" field (example: you may add border:1px solid red;). If you are using the [dciframe] Markup then you may similarly supply the parameters as [dciframe]http://www.google.com,400,250,1,auto,border:1px solid red;[/dciframe], for example (note that the fourth parameter value for frameborder has been set to "1").

How do I add an IFrame to a blog-post or Page?

To add IFrames to any post or page just add the markup [dciframe]url,width,height,frameborder,scrolling,style[/dciframe], for instance [dciframe]http://www.google.com,400,250,1,yes,border:1px solid red;[/dciframe].

Note that supplying the URL is mandatory while other parameters are optional; which means that you may specify only the URL or only the URL & width. Therefore, [dciframe]http://www.google.com,400[/dciframe] and [dciframe]http://www.google.com[/dciframe] are valid tags. Also note that the order of the parameters is important and URL, Width, Height, Frameborder, Scrolling and Style must be separated with commas. Lastly, the closing tag [/dciframe] is mandatory.

Can I add multiple IFrames on a Post or Page?

Yes you can. Just add multiple [dciframe] tags where required when using the markup or drop the "IFrame Widget" on your sidebars, as needed [See the screen shot section for a screen-grab of multiple widgets in action]. All of these can be configured independently.

I don't understand about adding the Markup. Is there a tool available to generate the Markup for me?

Fortunately there is now a Markup Generator available to help you, just use the Markup Generator under Settings > IFrame Markup Generator, click the "Generate Markup" button and copy-paste the markup to your post or page, as simple as that.

Requires: 3.0 or higher
Compatible up to: 3.4.2
Last Updated: 2012-9-20
Downloads: 45,065

Ratings

3 stars
3.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,3,3
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,2,2
100,1,1
100,1,1