WordPress: How to use an iframe to pull in outside content

Here are instructions for using an iframe with wordpress.org websites.

1.  Download the iframe Plugin from here.

2.  Use a shortcode in a post like this:

Note: I added a space after the left bracket [ and before the right bracket ] in order to not trigger the shortcode in the below code example.

[ iframe src="https://bluegalaxy.info/cgi-bin/this_script.py" width="100%" height="200" frameborder="1" scrolling="no" ]

Summary:
Using iframes in a WordPress post or page is really this simple and is a great way to add outside content or even Python CGI output, as seen in the Table of Contents page of this website.

Leave a Reply