Site logo

Archived topic

How to ensure that code won't be overwritten?

1 reply · Started by Petar on October 23, 2022

Viewing posts 1–2 of 2

I am using a child theme. But my google analytic code and line of code that is used to serve banners on my site, are placed inside header.php of the main theme between <head> and </head>.

How to ensure they won't be overwritten in the future with theme updates? Because I've just discovered this happened

This archived topic is closed to new replies.