Site logo

[Resolved] Problem with the Mailchimp for WordPress plugin when inside a block element

Home Forums Support [Resolved] Problem with the Mailchimp for WordPress plugin when inside a block element

Home Forums Support Problem with the Mailchimp for WordPress plugin when inside a block element

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1722666
    George

    I am using the MC4WP: Mailchimp for WordPress plugin to embed a form, It works fine on pages but the submit button doesn’t work when the form is called from a block element. In the attached single post URL on a staging site, you can see the optin form at the bottom. It’s the same optin form that’s on the homepage. The one on the homepage is embedded straight inside the page and works fine. On the single post, I am hooking it to the generate_after_main_content hook. I have also tried deactivated all plugins and only left GPP and GenerateBlocks but the issue persists. No errors in the console.

    #1722685
    Elvin
    Staff
    Customer Support

    Hi there,

    That’s quite strange.

    I tried replicating the issue on my end but I’m not getting the same error.

    Here’s the sandbox site with the form.
    On a page, shortcode placed inside a container block:
    https://dev-generate-press.pantheonsite.io/mc4wp-test/
    On a single post, shortcode placed on a Block element hooked to generate_after_main_content:
    https://dev-generate-press.pantheonsite.io/travel-stories/travel-story-2/

    I’ve checked your site and it has errors:
    https://share.getcloudapp.com/yAuDLBkn

    There must be some scripts or settings in conflict w/ your site’s structure. Perhaps try disabling all the scripts as well.

    #1724031
    George

    There’s been an issue with a script on the page so I am closing this one since the problem is from my end.

    Thanks!

    #1724102
    Elvin
    Staff
    Customer Support

    No problem. Glad to be of any help. 😀

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.