• In my theme, I added a small piece of html in the footer.php. Each time the theme updates, it gets removed. I have over 100 websites with the same theme, and dont have time to go through each one to re-add. Is there anyway to add the html so it doesn’t get overwritten?

Viewing 1 replies (of 1 total)
  • As you’ve discovered, you should never directly edit a theme’s files directly. The suggested method for making changes to any theme is to first create a child theme and then make your changes to a copy of whichever file you want to modify (e.g., footer.php).

Viewing 1 replies (of 1 total)

The topic ‘Theme Updates Overwriting HTML’ is closed to new replies.