• Hi, after using [pass] shortcode in a [block] one while constructing iframe tag I got the effect of the corrupting a post page and stop loading scripts including WP dashboard on top
    Though using shortcodes on this same page earlier didn’t give any problem.
    The code I use

    [pass field=iframe][block tag=iframe data-src="{FIELD}" src="{FIELD}" loading="lazy" width=300 height=200][/block][/pass]
    

    The html code with the iframe tag doesn’t break the page, the [block] shortcode also doesn’t do that, only [pass] shortcode prevents the page from loading additional scripts (or at least it seems so, not sure what’s exact dusfunction)

    • This topic was modified 4 years, 11 months ago by signale.
    • This topic was modified 4 years, 11 months ago by signale.

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

The topic ‘pass shortcode causing script not loading in post’ is closed to new replies.