Hey,
Is it possible you are seeing this: https://ww.wp.xz.cn/support/topic/more-prbs-after-update/
Meaning you have a child theme and are overriding the header.php file?
Ben
Hello, I have not overwritten the header.php file
simply in the previous version of the theme the class was class = “site”
with the new update it changed to class = “wp-site-blocks”
Now I changed the child theme with this class and everything is back to normal …
So the fault is not ours, because we didn’t touch the original strings, but I personally added the script for Google and Messenger and nothing ever happened. The problem was in that class
Thanks anyway for the tip.
Hey,
Let me see if I can explain.
If you have header.php in your child theme then you are overriding the header.php file. Every file you put in your child theme you become responsible for. It’s now on you to update those files. The parent theme can’t update your child theme and so you should be very careful about which files you override in a child theme.
I would suggest you should never ever override the header.php file. If you need to add scripts it’s best to do this through a function and not by taking control of a template.
https://www.kadencewp.com/kadence-theme/knowledge-base/advanced/adding-google-tag-manager-with-a-child-theme-no-extra-plugin/
I hope that helps clarify.
Ben
Ok, all clear and thank you for the explanation!