You should now have three theme folders on your computer: the new updated version of your theme, the old customized version of your theme, and the child theme you just created.
Copying customizations to the child theme
Next, we need to identify any changes you've made to your theme so we can copy them to the child theme. The easiest way to do this is to compare the files of your old and new theme.
the difference between the new and old version of each file. We recommend that Windows users use WinMerge , Mac users use Kaleidoscope , and Linux users use Meld .
Open your file comparison software and drag the updated list of canada cell phone number ersion of your theme to the left pane and the old customized version to the left pane. The software will highlight any files that have been changed or added.
Changed Files Will Be Highlighted
With the exception of functions.php and style.css, you should copy the highlighted files in the right pane to your child theme's folder.
Your child theme already has its own functions.php and style.css files, so we need to handle them differently. You need to copy any changes you made to these files and paste them to the end of your child theme's files.
First, open the updated and the old version of the functions.php file in your comparison software. Copy the highlighted text from the adjusted version to the clipboard.
You need to use a file comparison software to see
-
- Posts: 390
- Joined: Sat Dec 21, 2024 5:45 am