- Clone this repository into your
wp-content/themesdirectory. - Run
rm -rf .gitto remove the Git repo of the starter theme. - Run
npm installto install the dependencies. - Run
node bin/setup.mjsand follow the prompts to set up the plugin. - Activate the theme in the WordPress admin.
To make it a repo:
git initgit add .git commit -m "Initial commit"gh repo create(if you have the GitHub CLI installed)
To delete the setup script:
rm bin/setup.mjs && npm uninstall --save-dev @inquirer/prompts
See Automate Your Local WordPress Setup with Herd for a complete walkthrough.
- Run
npm run startto start the development server. - Run
npm run demoto create a demo content post with all blocks.
- Run
npm run buildto build the theme.