It is quite easy to create a Child Theme in WordPress. See how.
The most important step is to include the “Template” parameter in the metadata that declared in the comments of the file style.css
.
For example:
/*
Theme Name: ClioWP Child
Theme URI: https://github.com/pontikis/cliowp
Description: ClioWP Child Theme
Author: Christos Pontikis
Author URI: https://pontikis.net
Version: 1.0.0
Text Domain: cliowp-child
Template: cliowp
*/
Only child themes will include “Template” in metadata.
Without “Template”, you will get the error:
With an invalid “Template”, you will get the error:
References
- Official Documentation: Child Themes
- Official Documentation: Theme Handbook
- https://developer.wordpress.org/reference/functions/get_stylesheet_directory_uri/
Entrepreneur | Full-stack developer | Founder of MediSign Ltd. I have over 15 years of professional experience designing and developing web applications. I am also very experienced in managing (web) projects.