Support » Plugin: MailPoet - emails and newsletters in WordPress » Forms delay showing up

  • Resolved FREEZhao


    I set up the MP subscribe form finally in my theme menu.
    I use the PHP and iframe insert it into the header.php.
    After a lot of work to customize style as I want, I found there is an issue.

    The form on my menu is not show up immediately, it takes several seconds till it show up, I know there is a delaying function in form setting, but I choose the widgets model, there is no option for that.

    what can I do with it?
    Thanks for helping~~

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support kellymetal a11n


    Hi there,

    I see what you mean — there’s a slight delay loading the form compared to the rest of the page. I believe this is due to it loading in an iFrame.

    Since you are loading the form directly on your site, it should be quicker to load it using the shortcode method rather than loading in an iFrame. You can use the shortcode in your header.php template file using something like the following:

    <?php echo do_shortcode('[mailpoet_form id="2"]'); ?>

    You’ll need to adjust it to use your form ID (instead of “2” like above).

    I hope this helps! Please let me know if you have any questions.

    Thread Starter FREEZhao


    Great! I think it is what I need!

    I have tested it, it works for me.

    The “use PHP” code is still iframe, that why I used the iframe.

    1. The style need to be reset without the theme default. I have customize it.
    2. The form can not show up in the whole in the mobile menu. Need help~ !

    Thanks so much! @kellymetal

    Thread Starter FREEZhao


    BTW: My test phone is iPhone 12.

    Thread Starter FREEZhao


    It works well now. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Forms delay showing up’ is closed to new replies.