wpcreator
v0.5.0
Published
Plugin and theme boilerplate generator for wordpress developer
Downloads
8
Readme
WPCreator: a package for speed up plugin development
You can generate boilerplate WordPress plugin with simple commands
install
use below command for install wpcreator
globally:
npm install -g wpcreator
Generate Boilerplate Plugin
###1. Create plugin base
Go to directory that must contain your plugin such as /wp-content/plugins/
and generate your base plugin:
cd {wordpress_dir}/wp-content/plugins/
wpcreator plugin "Daneshjooyar Course Shop"
Or use npx
tool:
npx wpcreator plugin "Mypluygin"
2. Install plugin composer for active namespace
Go to new plugin directory and install composer:
cd daneshjooyar-course-shop
composer install
3. Install Vue panel dependencies
For install VueJs panel for to Panel
directory and run below command:
cd Panel
npm install
Note: For dev mode VueJs panel define PANEL_DEBUG
in wp-config.php
file:
define( 'PANEL_DEBUG', true );