這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

Usage

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