wp scaffold _s <slug>
Generates starter code for a theme based on _s
Arguments
Name | Description |
---|
slug | The slug for the new theme, used for prefixing functions |
Options
Name | Description |
---|
--activate | Activate the newly downloaded theme |
--enable-network | Enable the newly downloaded theme for the entire network |
--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’ |
--sassify | Include stylesheets as SASS |
--woocommerce | Include WooCommerce boilerplate files |
--force | Overwrite files that already exist |