Updating Theme from

Posted in: Newspaper
Post count: 4

Hi Team,

We are using Newspaper 6.7 theme and we want to update to the latest version.Also we are using child theme and made some customisations to the existing files and added some new files in child theme.If we update to the latest version of the theme will all my customisation will Lost? If Yes, please provide a way to update the theme to the latest version with out losing my customisation.

Thanks,
Abburi

Post count: 22421

Helolo Abburi,

Unfortunately a child theme is not update proof. There is no update proof method to customize the theme files. It’s like this. You have a few file sin your child theme that you copied over from the main theme and modified. Now, those files have probably been updated in the current version of the theme. (You could get lucky and they have not, but there is a strong chance they have). if you do not replace the files in the child theme with the new ones, then you will have newspaper 7 in the main theme and serve newspaper 6 files from the child theme. This will cause conflicts and ‘break’ the theme. The only safe way of doing it is to make a back-up of the customization you made, install the new theme, re-create the child theme using the current files and then re-apply the customization if it still works in the new code. A child theme is not update proof. It helps you skip a few updates but that’s it. There is no way of keeping an old file and using it indefinitely. You will have to take a look at every update since newspaper 6.7 and if your file is not on the updated files lists, then you can leave it as it is. if you find your files on any update list since newspaper 6.7, then you will have to re-apply your modification

Thank you!

Post count: 4

Hi Bogdan,

Thanks for your reply.
We have modified functions.php & style sheet of the child theme(folder) in version 6.7 and added some new files in the child theme. So is it okay to take the backup of modified files(functions.php & style sheet) and newly created files and update the theme to the new version and again add the customisation of functions.php & style sheet of the child theme(folder) and add newly created files? If we do like this will our site work as is or any issues arise?

Thanks
Abburi

Post count: 22421

Hello,

in order to be sure your site will work properly you have to re-create the child theme again. Please use the child theme provided in the theme package: http://screencast.com/t/UUGvVDLHVO and modify the files provided there. If you need any other files modified, copy them from the current theme version and modify the code again. You will have to re-apply your modifications to the new theme files…to the new theme code.

Thank you!

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