Embed Iframe is a plugin that will let you embed iframe – an HTML tag that allows a webpage to be displayed inline with the current page, in a WordPress post. Although an iframe can lead to a complicated website, it can be very effective when used appropriately.
Use following tag to insert another page in post using iframe
[iframe url width height]
[iframe http://www.example.com 400 500]
- Download EmbedIframe plugin
- Copy to your ‘/wp-content/plugins’ directory
- Activate plugin
You can find full details of installing a plugin on the plugin installation page
Is there any limitation?
You cannot embed a URL which carries X-Frame-Options header with the value DENY.
For those wondering why his plugin appears not to work is : //support.duda.co/hc/en-us/articles/1500001499461-Load-Site-in-an-iframe By default, the ability to load your site in an iframe on another site is disabled. We recommend not changing the default unless it is mandatory for your specific site. Sites created before April 5, 2020 are permitted to be displayed in an iframe. To enable the ability to load the site in an iframe: In the left panel, click Settings, and then click Site SSL. Click the Allow site to be loaded in an iframe toggle. or go to your SSL provider and look for (in their settings) etc or: ask them to remove restriction..
so easy to use. thank you
2021年3月30日 1 回复
Doesn't work at all. Upon loading the page that features the shortcode the browser just tries to download the iframe source rather than display it.
This open-source plugin is simple and effective.
“Embed Iframe” 是开源软件。 以下人员对此插件做出了贡献。贡献者
- Initial release
- PHP7 compatability
- Security related changes