Update the theme without losing any modification code

Posted in: Newspaper
Post count: 14

Hola.

Now Im using Newspaper version 8.7.2 and I wanna update the theme in to the new version 8.8. Can I update the theme without losing any modification code that I placing inside the theme?

Post count: 1043

If you modified the main theme files, then you will lose your modifications when you update. If you placed any CSS in the custom CSS section, then it will not be lost. For the first option, it is better you backup your site and theme files and then check which files have been modified in the new update and add back your code https://forum.tagdiv.com/how-to-update-the-theme-2/

Post count: 14

So, if I put the modifications at the PHP file, the modifications will be lose?

Post count: 23312

Hello rezaandrian,

The full backup at your website is the response. Every time we recommend doing this task before updating your website. You an check here -> http://www.wpbeginner.com/plugins/how-to-create-a-complete-wordpress-backup-for-free-with-backwpup/

Thanks for your understanding!

Post count: 1043

@rezaandrian yes, if you modified the main theme files. Consider using a child theme https://forum.tagdiv.com/the-child-theme-support-tutorial/. And backup your site as Catalin says. (I don’t work here)

Post count: 14

Okay. Thanks a lots @epickenyan 🙂

Post count: 14

Okay. Thanks a lots, Catalin! 🙂

Post count: 1043

You are welcome.

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