child theme or update script?

Posted in: Newspaper
Post count: 7

Hello,

I need create a child theme for future updates in theme or i must using the “update script”?
I do not run the risk of losing my customizations?

Sorry for bad english

Post count: 22421

Hello John,

It actually depends on the version of the theme you are updating from. If you update from version 4 to 6, then all customization will be lost. If you altered the theme files, then even if you already had version 6 and update to 6.5.1 they will still be replaced in the new version if you did not use a child theme. The ‘update script’ you mentioned is only for updating from version 4 of the theme so I assume you have this version if you mentioned the scrpit. In this case, unfortunately all your customization will not work anymore.
Newspaper 6 is a whole new theme so an update from 4 to 6 may cause the same issues as switching to another theme (but we did try to maintain compatibility where ever possible).
Always make a full backup of your current installation – https://codex.wordpress.org/WordPress_Backups and then do a clean update, meaning that we recommend that you delete the old version of the theme before uploading the new one – https://forum.tagdiv.com/how-to-update-the-theme-2/ update also the plugins that come with the theme files from the /plugins folder. In the “how to update” guide is specified that you will have to run the script that will import from database your settings.
The shortcodes have been changed so old ones will not work anymore. Please note that old files customization or custom css will not work with the new version and you will have to adjust or re-add them.
Bottom line is that newspaper 6 is a whole new theme built from scratch.
The child theme is recommended for custom modifications but if the files you alter are going to be changed in a future update, you will have to check which file was modified by checking the changelog for each update and then adjust the file in your child theme if needed.

Hope this helps!
Thank you!

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