Updating my free theme delete all my changes

admin2025-06-03  5

Closed. This question is off-topic. It is not currently accepting answers.

Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?

Closed 6 years ago.

Improve this question

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?

Closed. This question is off-topic. It is not currently accepting answers.

Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?

Closed 6 years ago.

Improve this question

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?

Share Improve this question edited Feb 20, 2019 at 9:56 Krzysiek Dróżdż 25.6k9 gold badges53 silver badges74 bronze badges asked Feb 20, 2019 at 9:46 Bepencil BepencilBepencil Bepencil 111 bronze badge 1
  • 2 There is only one solution: use your backup. And next time build a child theme. :) – fuxia Commented Feb 20, 2019 at 9:47
Add a comment  | 

1 Answer 1

Reset to default 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.
转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748886405a314540.html

最新回复(0)