Support Center
Visit Demo
License manager
Buy @ envato
toggle menu
Categories
Discussions
Activity
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Activity
Sign In
·
Register
×
Home
›
Theme support
Add a script in header.php
Sk4z
July 2018
in
Theme support
Hello,
I'm using Cookiebot and to do that I paste the script in header.php just before <? php wp_head (); ?>.
The problem is that when I update the theme this script is deleted.
How can I keep this change?
Thank you
Comments
Pablo
July 2018
Hi,
You can paste your script inside SEO > Google | Analytics, it'll store your script even while updating the theme.
Thanks.
Sk4z
July 2018
edited July 2018
Ok thanks, but I already have Google Analytics script there, is not a problem? Can I keep both?
Pablo
July 2018
Yes, of course.
But be sure that the script is not in another script.
Thanks.
Sk4z
July 2018
Ok done! Thank you!
Sign In
or
Register
to comment.
Comments