前言介紹
- 這款 WordPress 外掛「Advanced iFrame」是 2011-07-21 上架。
- 目前有 50000 個安裝啟用數。
- 上一次更新是 2025-04-22,距離現在已有 11 天。
- 外掛最低要求 WordPress 3.3 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.4 以上。
- 有 52 人給過評分。
- 論壇上目前有 3 個提問,問題解答率 67% ,不低,算是個很有心解決問題的開發者團隊了!
外掛協作開發者
mdempfle |
外掛標籤
embed | iframe | resize | shortcode | modify css |
內容簡介
看起來您正在尋找一個 WordPress 外掛 - Advanced iFrame Pro。這個外掛可讓您使用 iframe 包含其他網頁到您的網站中,同時具有隱藏和修改元素、自動調整高度、轉發參數等功能。另外,該外掛還支援使用 p3d 3D 閱讀器在網站中嵌入 3D 模型,如果您使用 AIFRAME 優惠碼在購買時可以享有 50% 的折扣。以下是此外掛的主要特點:
- 隱藏版面配置以釋放 iframe 的空間。
- 當 iframe 在相同域上時(Pro 版本支援不同域),只顯示特定區域的 iframe,或直接使用 jQuery 包含部分內容。
- 修改父層和 iframe 中的 CSS 樣式,例如更改內容區域的寬度。
- 轉發參數至 iframe。
- 在加載、AJAX 或點擊時自動調整 iframe 的高度或寬度。
- 支援使用 Responsive videos(2022 年版已由 Pro 版本移到免費版中)。
- 當 iframe 加載時滾動父層到頂部。
- 隱藏內容直到完全加載。
- 添加 CSS 和 JS 文件到父層頁面。
- 安全代碼:只有在管理界面中使用有效安全代碼才能插入 shortcode。
- Pro 版本中還有許多其他很酷的功能,請參見 http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-comparison-chart。
在免費版中,您可以啟用 Pro 管理介面,並在預覽中測試許多 Pro 版本的功能!請注意:只有在同一域名下或使用設置中所述的解決方案時才能在 iframe 內部進行修改。因此,請先檢查 iframe 頁面和父頁面是否在同一域中。www.example.com 和 text.example.com 是不同的域名!如果您喜歡的功能是否可以使用,請查閱相關文檔。此外,還有一個免費的 iframe 檢查器可用於檢查網頁是否可以包含,詳見 http://www.tinywebgallery.com/blog/advanced-iframe/free-iframe-checker。所有設置也可以通過 shortcode 屬性進行設置。如果您只使用一個 iframe,請在管理介面中設置,因為其中每個參數都有詳細的解釋和默認值。免費版沒有功能限制,僅供個人和非商業網站使用。超過 10,000 次/月的訪問量之後,仍然可以使用 iframe,但以下方仍會顯示一個帶有連結到 Pro 版本的小“powered by”提示。如果您超過此限制並符合免費許可證,請與我聯繫以獲得一個更高的限制版本。如果您想升級到 Advanced iFrame Pro 版本,請參見它的官方網站:https://1.envato.market/b1vbg。
原文外掛簡介
Advanced iFrame Pro
Demo
Include content the way YOU like in an iframe that can hide and modify elements, does auto height, forward parameters and does many, many more…
Main features of advanced iframe
By entering the shortcode ‘[advanced_iframe]’ you can include any webpage to any page or article.
Advanced iFrame now has out of the box support for embedded 3D models using the p3d 3D viewer. Go to https://p3d.in/b/24 and download a pre-configured plugin where the model does scale already nicely on all devices. Get started for free! If you need more storage or access to the Premium features of p3d.in, you can get a 50% discount on your first payment with the coupon AIFRAME on checkout.
The following cool features compared to a normal iframe are implemented:
Hide areas of the layout to give the iframe more space (see screenshot)
Show only specific areas of the iframe when the iframe is on a same domain (The Pro version supports this on different domains) or include parts directly by jQuery
Modify css styles in the parent and the iframe to e.g. change the width of the content area (see screen-shot)
Forward parameters to the iframe
Resize the iframe to the content height or width on loading, AJAX or click
Responsive videos (moved from the pro to the the free version in v2022)
Scroll the parent to the top when the iframe is loaded
Hide the content until it is fully loaded
Add a css and js file to the parent page
Security code: You can only insert the shortcode with a valid security code from the administration.
Many additional cool features are available the pro version – see http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-comparison-chart
In the free version you can update to the pro version directly or test all features in the 30 days trial!
Please note: Modification inside the iframe are only possible if you are on the same domain or use a workaround like described in the settings.
So please check first if the iframe page and the parent page are one the same domain. www.example.com and text.example.com are different domains! Please check in the documentation if you can use the feature you like
A free iframe checker is available at
This tool does check if a page is allowed to be included!
All settings can be set with shortcode attributes as well. If you only use one iframe please use the settings in the administration because there each parameter is explained in detail and also the defaults are set there.
Limitations of the free version
The free version has no functional restrictions and is for personal and small non-commercial sites. After 10.000 views/month you have to opt-in to get unlimited views. If you do not opt-in the iframe is still working 100% and at the bottom of the iframe a small notice to opt-in is shown.
Upgrading to Advanced IFrame Pro
It’s quick and painless to get Advanced iFrame Pro. Simply sign up for the 30 days trail or buy directly in the plugin. You can than use the plugin on commercial, business, and professional sites and blogs. You furthermore get:
Show only specific areas of the iframe even when the iframe is on different domain
Graphical content selector: http://examples.tinywebgallery.com/configurator/advanced-iframe-area-selector.html
External workaround supports iframe modifications
Widget support
No view limit
Hide areas of an iframe
Browser detection
Change link targets
URL forward parameter mapping.
Zoom iframe content
Accordion menu
jQuery help
Advanced lazy load
Standalone version – can be used in ANY php page!
And much more…
You can find the comparison chart here: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-comparison-chart
See the pro demo here:
Administration
Go to Settings -> Advanced iFrame
Quick start guide
The quickstart guide is also available as video: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-video-tutorials
To include a webpage to your page please check the following things first:
Check if your page page is allowed to be included http://www.tinywebgallery.com/blog/advanced-iframe/free-iframe-checker!
Check if the iframe page and the parent page are one the same domain. www.example.com and text.example.com are different domains!
Can you modify the page that should be included?
Most likely you have one of the following setups:
iframe cannot be included: You cannot include the content because the owner does not allow this.
iframe can be included and you are on a different domain: See the feature comparison chart: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-comparison-chart and the feature overview http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-features-availability-overview. To resize the content to the height/width or modify css you need to modify the remote iframe page by adding one line of Javascript to enable the provided workaround.
iframe can be included and you are on the same domain: All features of the plugin can be used.
If you mix http and https read http://www.tinywebgallery.com/blog/iframe-do-not-mix-http-and-https. Parent https and iframe http does not work on all mayor browsers!
Advanced iframe attributes
Below you find all possible shortcode attributes. If you only use one iframe please use the settings in the administration because there each parameter is explained in detail and also the defaults are set there.
Setting an attribute does overwrite the setting in the administration.
[advanced_iframe securitykey=”” src=””
id=”” name=””
width=”” height=””
marginwidth=”” marginheight=””
scrolling=”” frameborder=””
class=”” style=””
content_id=”” content_styles=””
hide_elements=”” url_forward_parameter=””
onload=”” onload_resize=””
onload_scroll_top=”” onload_show_element_only=””
store_height_in_cookie=”” additional_height=””
additional_js=”” additional_css=””
iframe_content_id=”” iframe_content_styles=””
iframe_hide_elements=”” hide_page_until_loaded=””
include_hide_page_until_loaded=””
include_url=”” include_content=””
include_height=”” include_fade=””
onload_resize_width=”” resize_on_ajax=””
resize_on_ajax_jquery=”” resize_on_click=””
resize_on_click_elements=”” use_shortcode_attributes_only=””
onload_resize_delay=””
]
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Advanced iFrame」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.3 | 2.1 | 3.0 | 2024.5 | 2025.2 |
延伸相關外掛(你可能也想知道)
iframe 》, 高級 iFrame Pro, iframe, 捐贈, GitHub, , [iframe src=”http://www.youtube.com/embed/oDlbBy9vfgI” width=”100%” height=̶...。
Simple Iframe 》輕鬆地在區塊編輯器中插入 iframe。, 此外掛會在 Embeds 類別中新增一個 Iframe 區塊。, 只需拖曳 Simple Iframe 區塊,即可插入外部(或內部)URL。。
Simple YouTube Embed 》Simple YouTube Embed 外掛是在 WordPress 中嵌入 YouTube 影片最簡單的方法。此外掛延伸了預設的 YouTube 影片嵌入,加入了進階的播放器參數。, 與其他 YouT...。
Include Me 》Include Me 可以幫助您在文章或頁面中包含外部檔案,通常用於在不同文章或頁面之間分享檔案,或包含可能被視覺化編輯器破壞的 PHP 或其他程式碼。, 使用方法...。
Auto iFrame 》Auto iFrame 外掛可以輕鬆快速的將 iframe 嵌入到頁面中,並能夠自動調整 iframe 大小以適應嵌入頁面的內容。, Auto iFrame 的縮寫格式如下:, [auto-iframe ...。
Embed Iframe 》Embed Iframe 是一個外掛,可以讓您在 WordPress 文章中嵌入 iframe。iframe 是一個 HTML 標籤,允許在當前頁面中內嵌顯示網頁,儘管 iframe 可能導致網站變...。
AWEOS Google Maps iframe load per click 》自動 Google 地圖 iFrame 阻擋器, 您想在您的網站上使用嵌入式 Google 地圖,但您必須遵守 GDPR/DSGVO 的指南嗎?也許您希望加快您的網站速度,只有在必要時...。
Unfiltered MU 》Unfiltered MU 提供給管理者和編輯者 unfiltered_html 功能。這可避免 WordPress MU/WordPress 3.0 多站點從這些使用者的文章中刪除