Tagged: x
-
AuthorPosts
-
May 21, 2016 at 8:58 pm #1003447
DmadiroeParticipantDear Xtheme Team,
I don’t know where exactly to insert the code provide by mailchimp.
Code provided:<script type=”text/javascript” src=”//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js” data-dojo-config=”usePlainJson: true, isDebug: false”></script><script type=”text/javascript”>require([“mojo/signup-forms/Loader”], function(L) { L.start({“baseUrl”:”mc.us11.list-manage.com”,”uuid”:”041f6cfa4d1045d765565d0657b”,”lid”:”878782d0324″}) })</script>
Thanks!
Best Regards,
DanMay 22, 2016 at 1:03 am #1003589
Rue NelModeratorHey Dan,
Thanks for writing in! What you are trying to accomplish requires a template customization, we would like to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Once you already have your child theme active and ready, please insert this following code in your child theme’s functions.php file.
function add_custom_code(){ ?> <script type="text/javascript" src="//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js" data-dojo-config="usePlainJson: true, isDebug: false"></script> <script type="text/javascript">require(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us11.list-manage.com","uuid":"041f6cfa4d1045d765565d0657b","lid":"878782d0324"}) })</script> <?php } add_action('wp_footer', 'add_custom_code');Please let us know if this works out for you.
May 27, 2016 at 4:40 pm #1013540
DmadiroeParticipantThank you!
Sorry for the late reply.
I will try it and let you know the results in this thread.Best Regards,
DanMay 27, 2016 at 10:26 pm #1013927
Prasant RaiModeratorLet us know how it goes.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1003447 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
