1.0.0 • Published 9 years ago
generator-va-wpplugin v1.0.0
generator-va-wpplugin
Yeoman Wordpress Plugin Generator
Installation
You need to install node before you can run anything.
npm install -gAfter you installed node, you'll install Yeoman next.
npm install -g yoTo install generator from npm run:
npm install -g generator-va-wppluginTo use the generator, cd to your Wordpress plugins directory and run:
yo va-wppluginThat's all!
Usage
The generator comes with set of sub-generator which listed below:
yo va-wpplugin:cpter {post_type}Customm post typeyo va-wpplugin:taxonomier {taxonomy}Taxonomyyo va-wpplugin:widgeter {widget}Widget
Update Sub Generator
You have two ways to update the sub generator:
#1 Using composer
cd to plugins/your-generator-plugin/
composer update {package-name}#2 Using option --update
yo va-wpplugin:{sub-generator} {argument} --updateExample: yo va-wpplugin:cpter "test-cpt" --update
Contributors
Changelog
- Rename plugin
- Fixed homepage and author URL
- Fixed contact email
- Update missing files
- Update missing files
- Add options
--update
1.0.0
9 years ago