Google ads code issue

vaibhav123

Regular Member
Joined
Sep 12, 2016
Messages
440
Reaction score
249
Hi, So this happend second time on my website that, the code that we put in the head section of the theme just wiped away and my ads stopped showing up.

Why this happens? Is there someone making changes to my theme?

If i put the code, the ads start showing again.

But how the code just go away on its own?

thanks.
 
You should avoid placing code directly in your theme files. Whenever your theme updates, it'll clear all your custom code. You should either use a child theme or place ad code through code snippets.
 
Thanks for the help guys
 
Back
Top