1.0.0 • Published 8 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 -g
After you installed node, you'll install Yeoman next.
npm install -g yo
To install generator from npm run:
npm install -g generator-va-wpplugin
To use the generator, cd
to your Wordpress plugins directory and run:
yo va-wpplugin
That'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} --update
Example: 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
8 years ago