I’ve been using the Sage framework for WordPress themes recently and have been really impressed by it.
Here’s a quick guide to setting up a fresh blank version.

Start off in the /wp-content/themes/ folder in your WordPress installation:

$ composer create-project roots/sage your-theme-name 8.5.1

next make sure the latest version of npm is installed:

npm install -g npm@latest

install gulp & bower:

npm install -g gulp bower

head to the theme directory:

cd your-theme-name

setup npm & bower:

npm install
bower install


Now you’re ready to get gulping!
Don’t forget to update the style.css file in the new theme folder with your theme name and details..

More info

Leave a Reply

Privacy & more..

Cookie Consent Policy