Insert an iframe and display an external website directly in a post using just a shortcode.
As of April 2026, PageView is a WordPress html plugin with 1.0K+ active installations and a 4.2/5 rating from 6 reviews. It has been downloaded 73K+ times in total. Requires WordPress 2.5+ and PHP false+. Available on WordPress.org since 2006. Last updated 8 years ago — may have compatibility concerns. Download volume is stable this week. Top alternative: Shortcoder — Create Shortcodes for….
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 %
Full documentation can be found on the Pageview page.
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”:
sanitize_text_field() for all user-supplied attributes before use, even if you escape them on output.esc_url() and esc_html(), but also use esc_attr() for all HTML attributes.&$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! 🙂
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
simple to use, does what it says.
Easy to use and configure. Was able to successfully add and resize my iframe in minutes. Thanks!
Thanks, solved a problem for me with a click of a button 😀
| WordPress | 2.5+ requiredTested up to 4.1.42 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.