Question
Trying to get my Mailchimp pop-up to only display on my homepage. Put this code in the site header but still show up on every page. What am I doing wrong? <?php if(!is_front_page() || !is_home()){?> <script id="mcjs">!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h). [0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)} (document,"script","https://chimpstatic.com/mcjs- connected/js/users/bb98175c14cd48aeb0879ecff/.....js");</script> <?php }?>
0
5 months 0 Answers 35 views

Question
I am using MailChimp subscribe popup on my Wordpress website. I am getting one issue. I added the below code on my website. <script type="text/javascript" src="//downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.js" data-dojo-config="usePlainJson: true, isDebug: false"></script> <script type="text/javascript">window.dojoRequire(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us5.list-manage.com","uuid":"e47ee5fe210b931aa5a748840","lid":"2b074a0a8b","uniqueMethods":true}) })</script> I am not getting the popup on ...
0
, 8 months 0 Answers 107 views