I’m having difficulties inserting the JavaScript for MailChimp to header.php in X Theme. The code for header.php doesn’t seem to have the tags where I can insert the script in between. And even if I try to insert, it gets rolled back.
Hi @jaraneta,
Thanks for reaching out.
The reason why when you add a script in the header.php it gets rolled back and there are no changes because there’s an error when you save the files. If you are going to add a script in your header part, I suggest that you will use a plugin called Insert Headers and Footers, where you can insert any script easier.
Hope that helps.
Thank you.
Awesome! That helped
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.