Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Tore Hjartland

    (@hjartland)

    Hello again,

    Thanks for the troubleshooting instructions. We have now completed the theme/plugin conflict test on a staging clone.

    The form was configured to open on page load and to “Display on all posts/products”. We tested direct permalinks to standard WordPress posts, not archive or listing pages.

    A public post where the pop-up is expected but does not appear is: https://sabasabai.no/klebrig-ris-sticky-rice/

    The results were:

    • With our Divi Child theme active, the pop-up did not appear on any post.
    • With the same MailPoet form and settings, but Twenty Twenty-Five active and all plugins active, the pop-up appeared correctly on the same post.
    • When Divi was activated again, the pop-up stopped appearing.
    • We switched to the Divi parent theme and deactivated every plugin except MailPoet. The pop-up still did not appear on posts.
    • We have also configured the same pop-up to display on our “About us” page https://sabasabai.no/om-oss/. It displays correctly there while Divi is active.
    • The problem therefore appears specific to standard single-post views under Divi.
    • We also previously verified that wp_footer() runs on the affected posts by adding a temporary footer marker. However, MailPoet’s form markup was not present in the HTML source of the affected posts.

    MailPoet Free version: 5.37.0
    Divi version: 4.27.8
    Divi Child version: 1.7.5-alpha
    PHP version: 8.4.24
    WordPress version: 7.1

    Based on these tests, the issue appears to be an incompatibility or rendering conflict between MailPoet 5.37.0 and Divi on standard single-post views. It is reproducible with the Divi parent theme and MailPoet as the only active plugin, while the same form works with Twenty Twenty-Five and on the “About us” page under Divi.

    Please let us know what you would like us to check next.

    Thread Starter Tore Hjartland

    (@hjartland)

    Hello, Bruna

    Thanks for the suggestions. I have now checked all four points:

    1. The tested posts are standard WordPress posts, not a custom post type.
    2. I tested the individual post permalinks, not the blog index, a category/tag page or another archive.
    3. I tested the wp_footer hook directly by temporarily adding an HTML marker through add_action( ‘wp_footer’, … ). The marker appeared in the generated source of the individual posts where the MailPoet pop-up failed. This confirms that wp_footer() is executed on those posts. I had also previously removed one tested post from its custom Divi Theme Builder template so that it used the standard Divi single-post layout. The MailPoet pop-up still did not load. During the MailPoet test, the generated HTML contained the configured trigger link, but no MailPoet pop-up markup or associated scripts.
    4. The form was configured to display Always, and testing was performed while logged out and in a private browser window. I also tested On page load, so suppression caused by a previously dismissed pop-up does not appear to explain the issue.

    The same form displayed successfully on a standard WordPress page when assigned specifically to that page and configured with On page load. It was not inserted on any of the tested standard WordPress posts, using either:

    • On click or On page load
    • A specifically selected post or Display on all posts/products
    • A custom Divi single-post template or the standard Divi single-post layout

    The temporary pop-up settings have now been disabled to avoid affecting visitors, but I can re-enable the form on a specific test post if needed.

    Since the posts are standard posts, the individual permalinks were tested, wp_footer() is confirmed to run, and cookie suppression has been ruled out, what would you recommend checking next to determine why MailPoet does not insert the pop-up form or its scripts on single posts?

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