Hi! my website is running on v3.8 without a child theme.
I made changed to functions.php (though wordpress edit menu) and custom css (though enfold menu). I’d like to upgrade to the latest version and this time implement child theme.
How should I do it? and what am I going to lose?
Many thanks!
Edit: I meant to the latest version, seems like it’s not 4.4 but 4.5 :)
Hey 0_o,
If you move what you added to functions.php to your child theme then you shouldn’t lose anything. Once you have activated the child theme then you can import the parent settings in the theme options. I would recommend that you do this on a staging version of your site in order to not risk any problems with your production site.
Best regards,
Rikard
Thanks,
So I should:
1. copy the functions.php additional lines
2. overwrite the old enfold folder with a new one (v4.5)
3. copy the child theme folder
4. active child theme
5. paste the functions.php additional lines
And that’s it? I’m not going to lose any of the settings I made to the “theme options” including custom CSS and such?
Hi,
Yes, basically. Except for step 2, you likely need to delete the old theme folder, then upload the new one. And last step would be to import the theme settings from the parent in the theme option.
You shouldn’t lose anything, but please make sure to have backups of the site before starting the update in case something should go wrong.
Best regards,
Rikard
Worked great. Thank you!