PageView

Plugin Banner

PageView

by John Godley

Download
Description

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.

To use:

[pageview url="http://urbangiraffe.com"]

Optional arguments:

title = A title to show under the iframe
desc = A description to show under the iframe
width = Width of iframe, in px or %
height = Height of iframe, in px or %

Documentation

Full documentation can be found on the Pageview page.

The plugin is simple to install:

  1. Download pageview.zip
  2. Unzip
  3. Upload pageview directory to your /wp-content/plugins directory
  4. Go to the plugin management page and enable the plugin

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

Installation Instructions

The plugin is simple to install:

  1. Download pageview.zip
  2. Unzip
  3. Upload pageview directory to your /wp-content/plugins directory
  4. Go to the plugin management page and enable the plugin

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

Still works on 6.8.2

By PiAir on August 10, 2025

Since the last review from 2018 was/is a really negative one, I decided to add mine also. I've been using this plugin for ages now, and it still works.
There are some things that could be improved to make it more safe and more "2025":

  1. Sanitize All Shortcode Attributes: Use sanitize_text_field() for all user-supplied attributes before use, even if you escape them on output.
  2. Defensive Defaults: Ensure all attributes have safe defaults and are validated.
  3. Escaping: You already use esc_url() and esc_html(), but also use esc_attr() for all HTML attributes.
  4. Remove Deprecated PHP: The use of &$this in add_shortcode is not needed in modern PHP.

I don't know how to suggest codechanges via SVN, but if the code is somewhere in github, I'm happy to provide them. And others: thank you for providing this plugin for free all those many years ago! 🙂

Works not at all... 🙁

By Marjoline on August 5, 2018

Hi, I tried this with my current template and on 2015, used the given examples, brought them across with copy/paste, not typo's, it simply didn't work. At best it yielded an empty space where the embedded webpage should have been. The one star is for the good idea, now the challenge for the maker will be to put it into practice so that it works! Disappointed, Marjoline

works great.

By shivan99 on September 3, 2016

simple to use, does what it says.

Perfect

By technista on September 3, 2016

Easy to use and configure. Was able to successfully add and resize my iframe in minutes. Thanks!

works on WP 4.3.1, Easy to Install

By bizfundi on April 27, 2017

Thanks, solved a problem for me with a click of a button 😀

1.6

  • Bump for WordPress 4.0
  • Clean up code

1.5.1

  • Remove plugin.php file
  • Return the shortcode, don’t just echo it

1.5

  • Use shortcode functions
  • New parameters supported
  • Cleanup
  • Removed default style and icon

1.4.4

  • Remove spurious quotes and vertically align the description

1.4.3

  • Change pattern matching routine

1.4.2

  • Update help field
  • Make work better with wpautop/wptexturize

1.4.1

  • Change tag so it’s no longer a comment

1.4.0

  • Include CSS by default

1.3

  • Update to allow templated HTML.
  • Allow spaces in title when using quotes.
  • Strip

<

p>

1.2

  • Old version
Back to top