Home › Forums › Gillion Theme › Update Gillion 3.5.1 – Google Tag Manager
Home › Forums › Gillion Theme › Update Gillion 3.5.1 – Google Tag Manager
With the new update to the 3.5.1 theme, the changes I had placed in header.php with respect to Google Tag Manager and Google Analytics, were deleted. How could it not be deleted when I update the theme?
Hi @juniormartian,
I hope you are well today and thank you for your question.
You have to use the child theme to preserve those changes.
You can get more information about the child theme on the below pages.
http://freewptp.com/why-and-how-to-create-wordpress-child-theme/
https://developer.wordpress.org/themes/advanced-topics/child-themes/
Best regards,
Shufflehound team
In this case I already have the child theme, but this is only configuring for “style.css”. Would you do this for the “header.php pages or all pages”?
You have to copy the theme theme file onto child theme directory that you have edited.
If you read information about child theme on the above shared pages then you will understand the child theme concept.