Creating a child theme.
-
I’ve used your theme on a site and want to create a Child Theme so customisations can be made without changing your core code.
Doing this the traditional way of creating a child theme directory, creating a style.css files referencing the parent theme, creating a functions.php file to load the parent and child style sheets.
Results in a Fatal Error:
PHP Fatal error: Uncaught Error: Failed opening required '/sites/example.com/files/public/wp-content/themes/child-theme/inc/core/init.php' in /sites/example.com/files/public/wp-content/themes/blockskit/functions.php:93
Do you have another recommended way to create a child theme or are you able to implement the loading of your core files based on the
template_directory
not thestylesheet_directory
making it compatible with Child Themes?
- The topic ‘Creating a child theme.’ is closed to new replies.