描述
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]
e.g.
[iframe http://www.example.com 400 500]
安装
- Download EmbedIframe plugin
- Unzip
- 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.
评价
2022 年 3 月 9 日
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..
2021 年 9 月 21 日
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.
2017 年 7 月 23 日
This open-source plugin is simple and effective.
贡献者及开发者
更新日志
1.0
- Initial release
1.1
- PHP7 compatability
1.2
- Security related changes