PageView Plugin – Embed an IFRAME in WordPress


Download: PageView
Version: 1.5.1
Supports: WordPress 2.5 – 3.1.1
Other: | SVN
Support: Forum

PageView is a plugin that will display another web page inside the current post. This is achieved with the use of an iframe – an HTML tag that allows a webpage to be displayed inline with the current page. Although an iframe can lead to a complicated website, it can be very effective when used appropriately.


  1. Download PageView
  2. Unzip
  3. Copy to your /wp-content/plugins directory
  4. Activate plugin

You can find full details of installing a plugin on the plugin installation page.


Insert iframes using WordPress shortcode syntax.

[pageview url=""]

URL is a required parameter. The following are optional parameters:

  • title – A short title for the iframe
  • desc – A description for the iframe
  • width – The width of the iframe. Defaults to 100%, and can be specified in percent or pixel format (100px or 100%)
  • height – As above, but for height
  • border – ‘yes’ or ‘no’, defaults to ‘no’
  • scrolling – Whether to display scroll bars, ‘yes’, ‘no’, ‘auto. Defaults to ‘no’

For example:

[pageview url="" height="400px" border="yes']

Note: The plugin still supports the older pre-1.5 syntax:

[pageview "title" description]

275 Responses to PageView Plugin – Embed an IFRAME in WordPress

  1. Excellent plugin!
    When I first read about it at WordPress Plugin DB, I thought to myself, how is this better than EZStatic? I didn’t know it wasn’t about putting static HTML inside template but inside posts – a truly unique solution. I love it.

    By the way, can you modify the plugin to accept also height and weight for the inline frame? The default are pretty small.

  2. Oh, also please add the example to the plugin description as shown in the admin panel so poeple don’t forget the format required.

  3. I’ve updated the plugin to include usage instructions in the plugin page. You can modify the dimensions of the frame by changing the CSS style. I’ve added a couple of details about this here on the page.

  4. Thanks Mathias. Yep, I spotted the object tag a few hours back and thought I was safe at least until tomorrow!

    The pre tag is fine for small bursts of code, but I created the plugin so as not to clutter up a post with a lot of code. I will investigate the Code Tag Transformation plugin further though – it certainly looks very pretty.

  5. Hi… Yes indeed, this is a very useful plugin… thanks a lot. Pardon my ignorance, but i just have to make this question if i want this plugin to work on my website:
    Where do i paste the css code?? at the end of the style.css file? or at the beggining? (if it helps, i’m using the pool theme)

    Thanks for any infor regarding that!!!

  6. Great Plug-in, this will make my site look more professional! I found a small bug, if you’re using John’s giraffe theme editor plug-in and one changes anything within it the pageview window is reduced in size and looks really bad. I found that if you input the required CSS code into the style.css in the giraffe plugin folder not in the theme’s folder the problem is fixed. It would be great if john includes this in his next version of giraffe’s plug-in.