tools/wordpress-child-theme-generator
Child Theme Generator
Generate a child theme for WordPress. This tool will generate a child theme for WordPress with the given parameters.
style.css
/*
Theme Name: Your Child Theme
Template: parent-theme-folder-name
*/
/*
* This file is style.css. A child theme also needs a functions.php that loads
* the parent's stylesheet — @import in CSS is the old advice and is slower,
* because the browser cannot start fetching the parent stylesheet until it has
* parsed this one:
*
* add_action( 'wp_enqueue_scripts', function () {
* wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
* } );
*
* Block themes that load styles through theme.json need neither.
*/