How to create a child theme?
We have the BeTheme installed, and I hear there's an update coming, but we don't to kill our existing site with the update! I'm told we should generate a child theme and use this for the public site. Can you point me to a tutorial or explain how to do with with your theme???
Comments
You work on a child theme like you would a normal theme, the difference is that you update the parent theme only and any new files you create and modify in the child theme folder will no get overwritten when updating the parent theme.
Hello,
yes, you have to keep the same directory paths as in the parent theme.
You also have to require_once() those files in the functions.php file.
You will find this in the child theme. Edit the functions.php file and scroll down, you will see a commented function already inserted there
thanks