How do I make a child theme with all my custom modifications?

Posted in: Newspaper
Post count: 230

How can I make a child theme with all my modifications? Which files need to be included, and how do I go about updating the theme without losing my changes?

Post count: 1341

The theme supports a child theme, it is provided in the theme package
https://forum.tagdiv.com/whats-included/
If you want to modify the loop file you mention, copy it in the child theme and modify it as you wish. Paste it in the main child theme directory, no structure needed for that file.
Remember to activate the child theme as well, in WordPress themes section.

Also: https://forum.tagdiv.com/the-child-theme-support-tutorial/

Post count: 230

Is there a more understandable guide that will tell me how to keep my changes with the child theme when I update?

Thanks

Post count: 7909

Hi,

You need to use child theme only if you alter the theme files and make custom modifications. You need to copy only the files you want to modify. The supported child theme files are present in the above guide.

If you refer only to the panel settings and wordpress and you don’t have custom code added to the theme files then you don’t need to create a child theme.

Thanks!

Post count: 230

Okay, thanks. I’ve heavily customised the theme, so I need put the css, functions and other various files in that I’ve changed.

Then, I update the master theme, and my changes stay but the theme is updated?

Thanks

Post count: 20688

Code entered in the child theme will not be affected by updating the theme. As a side note, elements in the main theme may change after a theme update. This may require that the code used in the child theme be adapted. Each theme update will include a list of modified files and changelog.
Example – https://www.screencast.com/t/d0UKYSE5qCkC

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