README
generator-vacore
Yeoman Wordpress Plugin Generator
Installation
You need to install node before you can run anything.
npm install -g
After you installed node, you'll install Yeoman next.
npm install -g yo
To install generator from npm run:
npm install -g generator-vacore
To use the generator, cd
to your Wordpress plugins directory and run:
yo vacore
That's all!
Usage
The generator comes with set of sub-generator which listed below:
yo vacore:cpter {post_type}
Customm post typeyo vacore:taxonomier {taxonomy}
Taxonomyyo vacore:widgeter {widget}
Widget
Update Sub Generator
You have two ways to update the sub generator:
composer
#1 Using cd
to plugins/your-generator-plugin/
composer update {package-name}
--update
#2 Using option yo vacore:{sub-generator} {argument} --update
Example: yo vacore:cpter "test-cpt" --update
Contributors
Changelog
- Update missing files
- Update missing files
- Add options
--update