Title: Shortcode Load error
Last modified: October 27, 2023

---

# Shortcode Load error

 *  Resolved [jwiley22](https://wordpress.org/support/users/jwiley22/)
 * (@jwiley22)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/shortcode-load-error/)
 * There seems to be lag or an error with the popup box loading, especially on mobile
   devices. It only loads the top portion of the shortcode lead form. It is imperative
   this form works to generate leads for our business.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-load-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [Jasmine](https://wordpress.org/support/users/hyenokian/)
 * (@hyenokian)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/shortcode-load-error/#post-17160009)
 * Dear [@jwiley22](https://wordpress.org/support/users/jwiley22/),
 * Thank you for the topic.
 * We checked and noticed that all the fields are normally displayed on both PC 
   and mobile device.
 * **See the screenshots below:**
 * > [View post on imgur.com](https://imgur.com/59uGfzq)
 * > [View post on imgur.com](https://imgur.com/aM9984s)
 * > [View post on imgur.com](https://imgur.com/l8wdJd2)
 * While checking, we noticed that you are using a Cache plugin, due to which the
   page is displayed as **Static HTML. **
   So, please **clear all the caches **and
   check whether the issue persists or not. Make sure the **cache **is **excluded**
   on the page where the given popup is located.
 * After clearing the caches, please try to check the case with either the **Incognito
   mode **or **another browser/device. **
 * Thank you.
 *  Thread Starter [jwiley22](https://wordpress.org/support/users/jwiley22/)
 * (@jwiley22)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/shortcode-load-error/#post-17161385)
 * Thank you for your response. I disabled all cache and minify plugins for the 
   time being to eliminate if that is the issue. The form typically will load in
   full on the first webpage. But when the webpage is reloaded or a new page is 
   directed to, the form will no longer fully show. I did notice its more often 
   then not happening on mobile but in some cases, desktop too.
 *  Plugin Support [Jasmine](https://wordpress.org/support/users/hyenokian/)
 * (@hyenokian)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/shortcode-load-error/#post-17163290)
 * Dear [@jwiley22](https://wordpress.org/support/users/jwiley22/),
 * Thank you for your reply.
 * Our Development Team has checked and noticed the following,
 * The height of the iframe you set in the content is connected via JavaScript.
 * **See the screenshot below:**
 * > [View post on imgur.com](https://imgur.com/GKNiCq2)
 * In case for some reason, the JavaScript doesn’t work, the popup is displayed 
   partially.
 * **See the screenshot below:**
 * > [View post on imgur.com](https://imgur.com/U46biTq)
 * Please note, that this case is not connected to our plugin. The problem comes
   from the iframe code you inserted.
 * Though the case doesn’t come from our plugin side, our Dev Team has created a**
   new CSS code** to solve the problem.
 * Please take this CSS code and insert it into the** Popups > particular popup 
   > Styles tab > Custom CSS option. **
 * Then, replace YOUR_POPUP_ID with the corresponding Popup ID (e.g. 3, like this.
   ays-pb-modal_3). 
   Do not delete the space after it.Do not forget to **clear the
   cache afterward.**
 * `.ays-pb-modal_YOUR_POPUP_ID .ays_content_box iframe {
   height: 500px !important;}
 * `@media screen and (max-width: 768px) {
   div.ays-pb-modal_YOUR_POPUP_ID .ays_content_box
   iframe {height: 669px !important;}}
 * Please check this and let us know about the outcome.
 * Thank you.
 *  Thread Starter [jwiley22](https://wordpress.org/support/users/jwiley22/)
 * (@jwiley22)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/shortcode-load-error/#post-17164320)
 * It worked!! Quite interesting how that was the issue. I never expected the iframe
   javascript to fail but I am so happy your team was able to catch and fix that
   for me. Much appreciation!
 *  Plugin Support [Jasmine](https://wordpress.org/support/users/hyenokian/)
 * (@hyenokian)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/shortcode-load-error/#post-17164356)
 * Dear [@jwiley22](https://wordpress.org/support/users/jwiley22/),
 * Thank you for your reply.
 * Glad to hear that the CSS code was of help to you to fix the problem.
 * If your query is resolved, please take a moment to [rate and review](https://wordpress.org/support/plugin/ays-popup-box/reviews/?filter=5)
   the plugin or support.
 * Many thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Shortcode Load error’ is closed to new replies.

 * ![](https://ps.w.org/ays-popup-box/assets/icon-128x128.gif?rev=2660064)
 * [Popup Box - Create Countdown, Coupon, Video, Contact Form Popups](https://wordpress.org/plugins/ays-popup-box/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ays-popup-box/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ays-popup-box/)
 * [Active Topics](https://wordpress.org/support/plugin/ays-popup-box/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ays-popup-box/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ays-popup-box/reviews/)

## Tags

 * [pop](https://wordpress.org/support/topic-tag/pop/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 5 replies
 * 2 participants
 * Last reply from: [Jasmine](https://wordpress.org/support/users/hyenokian/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/shortcode-load-error/#post-17164356)
 * Status: resolved