How to Update WordPress Theme without Losing Customization

Posted in: Newspaper
Post count: 1

How to Update WordPress Theme without Losing Customization

Post count: 6535

Hi

During the update process any customization made in theme’s core files will be lost becasue old files are deleted and new ones are uploaded instead. However you ca use theme’s patch to make the update but this works only from one version to another, ex from V 7.3 to V 7.4.
The changes made in theme’s panel and the code from custom code wont be lost after the update: http://screencast.com/t/cgiaDxUg

Thanks!

Post count: 23

how to do this theme’s patch ,and is it possible from 6.7 to 7.4 ,
Best regards

Post count: 6535

Hi

No the patch can’t make the update from 6.7 to 7.4, you will need to update the theme according with our documentation: https://forum.tagdiv.com/how-to-update-the-theme-2/ If you made any changes in theme’s core files they must be added again after the update is completed but make sure that they don’t break theme’s functionality.

Thanks!

Post count: 3

Hi,

is there any download library to download patches individually?

I have made some changes to the code on version 7.1. Now I’m stuck on it, because I only have patches to upgrade from 7.2 -> 7.3 and from 7.3 to 7.4.

So I’m missing patches from 7.1 -> 7.11 and 7.11 -> 7.2., and on Envato there is only the newest package.

I tried to rebase the full code in git, but I’m probably not mastering that so well yet 😛

Post count: 3

Ha, no worries! I did get some good advices and now I’m on version 7.4.

Post count: 23

Could you say me how you did it ?

Post count: 3

Using Git, I’m still trying to learn it so I’m not any good on advising how to use it properly. And I tried several times to do it, so I’m not QUITE sure how I actually did it…

But here is what I think I did:

1. I created an master branch with original code
2. I created side branch with my modified code
3. I added updated files (updates from tagdiv@envato) on the master branch
4. I committed the changes
5. From master I rebased (not merged) the code with my modified code

I was few steps ahead with my own codebranch, so before doing the actual rebase I also rebased it few steps, like
$ git rebase -i head~5

Earlier I tried to merge the code, but that did not work so great. Rebasing did the job.

Post count: 23

Thank you, I will try it and say you

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.