1

I'm developing a blog. I'm using a free theme, and I've made a lot of changes, from style to scripts. I update my theme from version 1.02 to 1.03, and all my changes have been deleted. I didn't know that updating themes delete the changes.

There's a solution to rollback to old version theme with my changes included?

1
  • 2
    There is only one solution: use your backup. And next time build a child theme. :)
    – fuxia
    Feb 20, 2019 at 9:47

1 Answer 1

0

You should never (almost) modify free/premium themes directly. Beeing able to update themes is crucial for security and compatibility reasons.

If you make any changes to the theme directly, then all these changes will get lost after update and you'll have to make them again and again.

On the other hand WordPress allows you to create Child Themes and that is the recommended way of modifying other themes.

So if your changes are lost after update, then you should:

  1. Get backup of your previous, modified theme.
  2. Get all your changes from that theme.
  3. Create your child theme and use it to make your changes based on new version of that theme.

Not the answer you're looking for? Browse other questions tagged or ask your own question.