Very Simple WordPress Starter
- About
- Installation
- Usage
VSWS is the result of getting tired of not having a simple WordPress theme packager. I wanted something I could use to both generate the package zip file and compile all of my Sass. To that end, I arranged a simple folder structure and some basic tasks in node.
With that in mind: this is meant to be as bare bones as possible.
- Fork the repo.
- Clone your newly forked repo
git clone https://yournewrepo
- Run
npm install
to pull down node-sass.
- Add theme specific images to the
src/images
folder - Add theme specific php file to
src/php
folder. - Add your sass files and folder structure to
src/scss
. - In the scripts section of the package.json: change the filename for your theme's zip file.
- When you are ready to package and test your theme run the npm command
npm run build
from the command line. The build will generate your sass, copy files into a dist folder and then package all of these into a zip that you can easily upload from your WordPress dashboard.