Hi, I’ve searched through the threads but cannot find anything that covers what I’m trying to achieve.
I have styled button elements on the page and wish to maintain this style. I also want one of the buttons to execute a script that generates a modal MailChimp pop-up (subscribe).
The script is as below:
<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.us10.list-manage.com","uuid":"uniqueid","lid":"uniquely","uniqueMethods":true}) })</script>
Is this possible perhaps by adding something to my functions.php in the child theme?