Switching from modified theme to a child theme – question from a non-coder
-
Hello, I’ve modified my main theme’s style.css quite a bit and now realize I should have generated a child theme from day one. My theme now has an update available.
I have redundant backups of everything, including original theme files and my modified theme files.
If I update my theme and all customizations are lost, then I create a child theme, can I just copy the modified lines from my backup modified style.css to the child theme’s style.css? Or will the child theme have exact copies of all the files from the parent theme and just override them? It would be easy for me to make all the same modifications in the child theme if that’s the case. If I have to write new code to “append” the code in the parent theme, I’m in trouble.
I’m not a coder and can’t pay someone to code for me. That said, I feel comfortable dealing with backups, SFTP and SSH. I am also fine with making simple changes to existing code (colors, margins, etc).
My modifications to other files (custom-functions.php, etc) are minimal, so I’m not worried about making the changes again in a child theme – as long as I only have to modify existing code and not write new code.
Thanks.
- The topic ‘Switching from modified theme to a child theme – question from a non-coder’ is closed to new replies.