该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Embed Iframe

描述

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]

安装

  1. Download EmbedIframe plugin
  2. Unzip
  3. Copy to your ‘/wp-content/plugins’ directory
  4. 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 年 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.
阅读所有4条评价

贡献者及开发者

“Embed Iframe” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Embed Iframe”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Initial release

1.1

  • PHP7 compatability

1.2

  • Security related changes