wp scaffold child-theme <slug>
Generates child theme based on an existing theme
Arguments
Name | Description |
---|
slug | The slug for the new child theme |
Options
Name | Description |
---|
--parent_theme <slug> | What to put in the ‘Template:’ header in ‘style.css’ |
--theme_name <title> | What to put in the ‘Theme Name:’ header in ‘style.css’ |
--author <full-name> | What to put in the ‘Author:’ header in ‘style.css’ |
--author_uri <uri> | What to put in the ‘Author URI:’ header in ‘style.css’ |
--theme_uri <uri> | What to put in the ‘Theme URI:’ header in ‘style.css’ |
--activate | Activate the newly created child theme |
--enable-network | Enable the newly created child theme for the entire network |
--force | Overwrite files that already exist |