Copying Files To Child Theme
-
Hello everyone,
Thanks in advance for any help.
Basically, I made a rookie mistake and made extensive changes to a parent theme (including php as well as style rewrites). My master plan was to simply copy everything over from the parent theme to the child theme and then then update my theme manually using the theme’s update changelog. I have recently been advised that this is a silly thing to do. Whoops.
My question: If I were to go in and establish which specific files I had edited and copy only those from the parent to the child theme directory in my ftp, would those files be overwritten on a theme update? To clarify: I would be directly copying the edited style.css, functions.php, header.php, sidebar.php, etc from the parent theme directory to the child theme directory and crossing my fingers.
If I am off the mark on this, I would really appreciate some advisement. I’m obviously not particularly well-versed with this facet of wordpress, and your help is greatly appreciated.
Thanks again and I look forward to your responses.
- The topic ‘Copying Files To Child Theme’ is closed to new replies.