Skip to main content
Create a folder with a minimal theme file. If no arguments or options are passed to the command, they can be entered interactively.

Usage

Arguments

string
required
Name of the theme.
string
This will be the folder name and the slug of the theme. If you don’t specify the slug, the name will be used to create one.

Options

The options allow you to set the information in your theme’s header (see the WordPress documentation).
string
default:"1.0.0"
Version theme header
string
Author theme header
string
Author URI theme header
string
Theme URI theme header
string
Description theme header
string
Requires at least theme header
string
Requires PHP theme header
string
License theme header
string
License URI theme header
string
Text Domain theme header
string
Domain Path theme header
string
Tags theme header

Interactive mode

If you don’t pass any argument or option, the command runs in interactive mode. You’ll be prompted to enter the theme name and can optionally define additional headers.

Examples