generator-yo-wordpress

Yeoman generator for Wordpress projects and plugins

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
generator-yo-wordpress
23961.4.910 years ago11 years agoMinified + gzip package size for generator-yo-wordpress in KB

Readme

Yeoman Wordpress Generator
Generator to use Yeoman on a Wordpress project.
For more informations about Yeoman, see Yeoman.io

Installation

$ npm install generator-yo-wordpress

Documentation

Init

$ yo yo-wordpress - Generates a new Wordpress project with a starter theme and the files needed to use Yeoman. Once Yeoman is done, install your new wordpress project, and activate the theme in the admin panel.
Yeoman will ask you which version of Wordpress you want to use (latest stable version by default), the starter theme and a few informations to make the theme ready be to used. Most of the defaults informations can be changed in the config file.

Configuration

Yeoman-wordpress stores some defaults values so you won't have to type the same things every time you start a project. The first time you will use the generator it will create a config file with the informations you gave. These informations will be used as default values so you can override them during the init task. If you want to change the default values you can do it by editing the config file located in ~/.yeoman/yeoman-wordpress/config.json.