generator-wp-s-theme
Yeoman generator for a WordPress starter theme (using Underscores) with Gulp and other good stuff. This will install the last version of _s
(Underscores) and optionally a Gulp setup ready for development and production.
Installation
yo
and gulp
:
Install required tools npm install -g yo gulp
generator-wp-s-theme
:
Install npm install -g generator-wp-s-theme
Run
Create a new directory, and go into:
mkdir my-new-theme && cd $_
yo wp-s-theme
, and fill the info:
Run yo wp-s-theme
Gulp usage
- Run
gulp
to watch for changes - Run
gulp build
to build your theme for production (you will find amy-new-theme.zip
file inmy-new-theme/dist/
) - (Optional) Run
gulp build-clean
beforegulp build
to cleanup themy-new-theme/dist/
folder
Versioning
Maintained under the Semantic Versioning guidelines.
License
MIT Copyright (c) 2016 Benito Lopez