Issues with Mailchimp Pop-Up Code

Hey again, I’m just doing the final touches on my site and am having issues with my Mailchimp pop-up code.

The same code works fine on my existing SquareSpace site, but on my new site the pop-up only shows on Firefox browsers. On both Chrome and Safari, the pop-up doesn’t show, but a string of code displays where my raw content element that contains the code on my home page.

Something like this should be a fairly simple copy-and-paste as it has been in the past for me, I’m not sure why it’s giving me so much grief on the new page…

Attached is a screenshot of the code string that appears on my page.

http://37.60.244.156/~thesefor/

Please help!

Hello @kerridawn,

Thanks for asking. :slight_smile:

I checked the website on Chrome and Firefox and Lightbox seems to be working fine on my end. Please see screenshot. https://cloudup.com/cUSs6nd-c4M

Thanks.

Hey, thanks for looking!

I was just about to edit my original post, I found a bit of code to add to my functions.php file. That seemed to correct the issue.

However, I’m always a little nervous doing anything to that file, because to be completely honest, I have no idea what it is/does. Haha

Thanks again!

Hi,

Can you share to us the code in your child theme’s functions.php

Thanks

Hi again,

The code looks good but you’ve missed this line probably:

add_action( 'wp_footer', 'footer_embed_codes' );

Check for the above line in your child theme’s functions.php file, if it’s there then all is well.

Cheers!

Thank you very much!

You are most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.