Ad code no longer in header.php file (after putting it there)
-
Hi all,
Got a very strange one. A few months ago I put two pieces of ad code into the header.php file of my theme (theme file editor). I even took screenshots of the code after I’d placed it and before I saved it to update the file. So I even know the exact line it was placed on within header.php.
Now I want to find it again to remove both bits of ad code, and they’re nowhere to be found in the header.php file at all. Searched it top to bottom. But weirdly the ad code DOES still show up in the site’s source code, and the ads are still displaying. So it’s still active, it’s just mysteriously vanished from the header.php file where I originally placed it.
How can this happen? Can code you place in one file migrate to another one? Seems unlikely to me. I may have updated the theme since I originally placed the code. Can that do weird things in terms of making custom code in header.php disappear?
Bottom line, what other ways are there to find and remove these two bits of ad code? Very odd that it’s no longer where I placed it, not in the file itself at all. Any help appreciated, thanks
- The topic ‘Ad code no longer in header.php file (after putting it there)’ is closed to new replies.