WordPress – Embed iFrame in Posts or Pages

by Elaine on February 15, 2011

So you can’t directly link iframe code in your Wordpress posts or pages.  I’ve tried and it doesn’t work.  So I found a WordPress plugin that will embed the iframe links into my posts.   I’ve also used the short code to embed iframe code into pages as well.  The plugin name is “Embed Iframe”.  It’s really easy to use.   After downloading the WordPress plugin, I installed and activated it.

Say for example your iframe link was <a href=”http://www.cmsmind.com” width=”100″ height=”500″>

So this is how you would use it after you install it.

1.  Go to Wordpress backend.

2.  Edit the post or page.

3.  You can either be in HTML or Visual view.

4.  Go to the position where you want to embed iframe code.  Type:

[iframe http://www.cmsmind.com/  100 500]

5.  Basically the shortcode is [iframe URL width height]

6.  You won’t see the iframe contents while you are editing the post.  Save and view the post.  You will see the embedded iframe from the frontend.

It’s short and simple, easy to use and light weight.   Click here to read more about the WordPress plugin from the WordPress extend directory.

 Wordpress   Embed iFrame in Posts or Pages


Elaine is the founder of CmsMind, an online blog providing Joomla and WordPress tutorials. Elaine lives in Toronto and when she is not online, she is either Marathon and Triathlon training or travelling and racing somewhere in the world. Find her also at: Save Money, Premium Themes and Templates, and at Webhosting Tips.

More Posts - Website

{ 2 comments… read them below or add one }

web-developer May 12, 2011 at 6:55 pm

You also can try this Wordpress plugin “Iframe” to insert iframe into post content using shortcode. It is simple and has various parameters.


Elaine May 12, 2011 at 8:46 pm

Thanks, that plugin seems to be a good one as well.


Leave a Comment

Captcha Captcha Reload

Older Post:

Newer Post: