• Page above containing just one block displaying one iFrame has stopped working recently – not sure when it stopped exactly since page has been there for three years now. Errors are displayed about “extended_widget_opts_block”. I only have very basic settings on the block, that is for URL, width and height.

    I use a plugin called “Widget Options” that appears to be causing the conflict, since when this is turned off, the iFrame displays correctly.

    However, a page where an iFrame should be displayed using short codes rather than a Gutenberg block does not display at all, even when the “Widget Options” plugin is disabled. In this case no errors are displayed – the display is just blank (see https://oldpharosians.org.uk/first-thursday/).

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author mdempfle

    (@mdempfle)

    https://oldpharosians.org.uk/dover-papers-2/ There is the problem that this plugin does modify the advanced iframe shortcode.

    I think they are using a general hook and add their stuff everywhere! I try to get in touch with them.

    What you can do: Go to the advenced iframe administration -> options tab -> Check shortcode -> false.

    Then the check should be gone.

    About https://oldpharosians.org.uk/first-thursday/ can you send me the shortcode? It seems the iframe is simply hidden. Maybe this is a config issue.

    Best regards, Michael

    Thread Starter zorba256

    (@zorba256)

    Michael,

    Many thanks for your helpful and clear response that I’ve taken on board.

    Changing the option to remove the check has resolved the issue with Gutenberg block page(s) displaying iFrames.

    Sadly even this plus reducing the short code to the absolute minimum does not help the “classic” page (https://oldpharosians.org.uk/first-thursday/ and . This has the short code “[advanced_iframe src=”https://oldpharosians.org.uk/first-thursday/menu.html” width=”100%” height=”600″]”.

    Hope this helps your analysis..

    Regards

    Richard

    Plugin Author mdempfle

    (@mdempfle)

    Hi,

    This is not the absolute minimum as this still adds many default from the administration you might have changed. Please add
    use_shortcode_attributes_only=”true” to your shortcode. Then only the settings in the shortcode are used.

    To get the full settings please go to the basic tab and klick on the shortcode generator button. Then you get all defaults you have set. Please also post them here.

    I have also tried to reproduce the issue with “Widget Options”. Do you have the pro version or have you modified some settings? Also do you have the latest version from them? I just installed it and had no issue with it.

    Best regards, Michael

    Thread Starter zorba256

    (@zorba256)

    Michael,

    Sorry for delay in response to your helpful instructions – Forum notifications are still going to my spam folder despite my best efforts!

    I’ve now included the use_shortcode_attributes_only=”true”?in the short code without it making any difference.

    Here is the full set of defaults currently in use from the short code generator button:

    [advanced_iframe use_shortcode_attributes_only=”true” src=”//www.tinywebgallery.com/blog/advanced-iframe” width=”100%” height=”600″ multi_domain_enabled=”false”].

    I’m only using the free version of Widget Options – specifically version 4.0.6.1 (latest). The following features are enabled:

    Classic Widgets Screen, Gutenberg Page & Post Block Options* , Pages Visibility* , Devices Restriction, Custom Alignment, Hide Title, Classes & ID* , User Login State, Display Logic*. Within those only the asterisked options have configurable features – these are all unticked except the following:

    Page Visibility – all features ticked

    Classes & ID – only Enable ID Field ticked

    Hope this helps.

    Richard

    Plugin Author mdempfle

    (@mdempfle)

    This does not really make sense for me. The iframe is only hidden if

    hide_page_until_loaded
    or
    hide_page_until_loaded_external

    is set to true.
    Can you try to simply set both to
    hide_page_until_loaded=”false” hide_page_until_loaded_external=”false”
    Be aware of you copy this from here ” are normally wrong! Please replace them with normal double quotes.

    I forward your info about Widget options to the thread I opened.

    Best regards, Michael

    Thread Starter zorba256

    (@zorba256)

    Michael,

    Thanks very much for your further efforts to find a solution to this issue and also for reporting the issue to the Widget Options team.

    Sadly your latest recommendations do not provide a fix, so I now wonder whether it is my use of the Site Origin theme “Corps” and/or the Site Origin page builder that are creating the problem in combination with Widget Options.

    But since you have found a solution that works for your Advanced iFrame block, I can always recreate the two pages as Gutenberg pages instead of classic pages to provide a workaround.

    Thanks again for your help so far…

    Regards,

    Richard

    Plugin Author mdempfle

    (@mdempfle)

    I do not know what prevents that in the classic editor nothing is rendered at all. Have you switched to a different theme or disabled some other plugins already?

    Best regards, Michael

    Plugin Author mdempfle

    (@mdempfle)

    Any feedback? Otherwise I close this thread.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.