Title: pass shortcode causing script not loading in post
Last modified: June 19, 2021

---

# pass shortcode causing script not loading in post

 *  [signale](https://wordpress.org/support/users/signale/)
 * (@signale)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/iframe-with-src-as-a-chortcode-causing-script-not-loading-in-template/)
 * 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](https://wordpress.org/support/users/signale/).
    -  This topic was modified 4 years, 11 months ago by [signale](https://wordpress.org/support/users/signale/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fiframe-with-src-as-a-chortcode-causing-script-not-loading-in-template%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [signale](https://wordpress.org/support/users/signale/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/iframe-with-src-as-a-chortcode-causing-script-not-loading-in-template/)
 * Status: not resolved