Include content the way YOU like in an iframe that can hide and modify elements and forward parameters. You can also embed content directly or show a part of an iframe.
Quick start guide
The quickstart guide is also available as video tutorial.
To include a webpage to your page please check the following things first:
- Check if your page page is allowed to be...
- Fix: The WordPress theme Twenty Twenty-Two evaluates shortcodes before the body only. The advanced iframe pro optimization to prevent this leads to the issue that the iframes are not shown there! The optimization is now disabled by default and can be enabled on the options tab at "Technical options" -> "Prevent early shortcode execution". At the description you find the instructions how to check if the optimization will improve your site.
- Fix: When the setting loading (default HTML lazy...
- New: The HTML attribute refererpolicy is now available in the administration and as shortcode attribute.
- New: Custom attributes can be added on the basic attributes page and in the shortcode. The shortcode attribute for this is custom="". e.g. custom="data-custom='data1' data-custom-2='data2'" if you like to add 2 custom attributes. See https://www.tinywebgallery.com/blog/advanced-iframe/demo-advanced-iframe-2-0 for an example.
- New: Check all iframes is now also checking...
- Fix: hide_content_until_iframe_color was causing an "Too few arguments ..." error. This is fixed now.
- Fix: addAdminHeaderCode is now using getAiAdminOptions instead of get_option. This does then always load the defaults even when the data could not be loaded from the database.
- New: Tested with Wordpress 6.1.1
- Fix: "Undefined array key" warnings when updating to php 8.x. If the database does not contain the required values now defaults are stored always during activation. Before it was only saved if no values where present.
- New: hide_part_of_iframe does now support position:fixed. This enables this feature also to work together with fullscreen iframes. Adding an f (position:fixed) in front of the zIndex has to be used to enable this.
- New: The CSP header detection is now checking next to SELF and NONE also for the domain itself at the frame-ancestors.
- New: The url/hash cache for rewrite urls can now be deleted in the administration if needed. Please note that this cannot be reverted.
- New: Improved...
- New: Compatible with Wordpress 6.2 - The editor block was broken as Wordpress changed a internal structure.
- New: The fullscreen button was enhanced. You can now hide additional elements which are still over the iframe. See the documentation of fullscreen_button_hide_elements
- New: Improved documentation. Added "How to find the id and the attributes". where needed.
- New: Missing purchase code message is now shown as general message
- Fix: The Javascript minimizer changed their URL. Now...
- New: Real fullscreen. The setting fullscreen_button_full enables the browser fullscreen.
- New: fullscreen_button_hide_elements does now hide the elements by CSS and JavaScript. By CSS was not working e.g. for google ads as they have inline styles with !important that can not be overwritten.
- New: Added "Left top corner" and "Left bottom corner" to the selection for the fullscreen button.
- Fix: Added shortcode attribute to the description of fullscreen_button_hide_elements...
- New: Improved the documentation of the full screen button
- Fix: A change in 2023.3 broke the standalone version. This is now fixed in 2023.4.
- Fix: A string was concatenated with + instead of the proper . of php that causes the plugin to fail. Please update asap!
Fix: Parameters with 0 (e.g. gid=0) where removed because of the default behavior of array_filter. Now a custom filter which does only remove empty parameters is used.
- New: New feature: Show content in iframe: Support of src="page" which which generate custom content pages from the normal content and put it in an iframe. See https://www.tinywebgallery.com/blog/advanced-iframe/demo-advanced-iframe-2-0/show-content-in-iframe for the documentation. WebinarIgnition is using this feature already. See https://webinarignition.tawk.help/article/cta-loading-issues for more details
- New: onload_resize_delay does now also support all...
- New: Anchor support in iframe when auto height is active. By default an anchor scrolls to the id specified. When auto height is active no scrollbar does exist and therefore scrolling does not work. This feature is now sending the position of the anchor to the parent and scrolls the parent to the correct place. This feature is supported for the same domain and the external workaround when auto height is enabled. See this demo...
- Security fix: The onload and custom attributes are now only allowed to be used if you have the permission "unfiltered_html", that you need in WordPress to use iframes. If you do not have this permission, during save the attributes are removed and an error message is shown.
- New: Support for Partitioned; See https://developer.chrome.com/docs/privacy-sandbox/third-party-cookie-phase-out/ for details. All places where SameSite=None is set also Partitioned; is added now.
- Fix: When saving the administration the detection of modified ai.min.js could cause a file_exists too long error with a lot of text shown. A wrong variable was used here which is fixed now. Now also the detection works that ai.min.js is regenerated again and again.
- Fix: add_iframe_url_as_param thrown an error because of the additional security filter. Now it works fine again.
- Security fix: The additional_js and additional_js_file_iframe attribute are now only allowed to be used if you have the permission "unfiltered_html", that you need in WordPress to use iframes. If you do not have this permission, during save the attributes are removed and an error message is shown.
- Fix: Show iframe as layer was not working properly in Firefox. The link was opening in a new tab. Using a different way to hide the iframe solves the problem.
- Security fix: The filter attribute method now filters shortcode attibutes which are parsed wrong by WordPress if the user does not have the unfiltered_html permission.
- Security fix: #x28 and #x29 are filtered if the user does not have the unfiltered_html permission.