Generates a custom wplibbox setup using Yeoman.
- Change directory to where you want the box to be located.
- Then write
yo wplibbox your-box-name
A folder with the name your-box-name will be created and the required files will created there. wplib.box will list all your installed sites. your-box-name will be added as a new site as your-box-name.dev.
- Change directory to your box.
- Then write
yo wplibbox:add-site mynewsite.dev
- A new site will be added as your-box/www/mynewsite-dev.
To get all template placeholders run
grep -ohRP "(?<=<%= )[a-z.]*(?= %>)" templates/ | sort | uniq
Have used some scripts from VVV