Iframes & WordPress
An iframe allows you to embed a webpage inside of another webpage.
For security reasons, WordPress strips out iframe tags from pages/posts during the save process. The [WmsInclude] shortcode provides a workaround for this, allowing you to embed external web pages into your WordPress site, without actually using the iframe HTML tag.
You can only pull in content from a set of white-listed domains. If you’d like us to add a new domain to the list, contact [email protected].
Creating the shortcode
The [WmsInclude] shortcode can be set up 2 ways:
- using the shortcode builder interface in visual mode (recommended)
- manually typing in the shortcode and attributes into the editor
Select a tab below for the corresponding instructions.
Demo
Here’s what an embedded iframe looks like:
Megamenu Social