Wordpress Starter theme with SASS

This is an instruction and folder structure to setup a boilerplate for developing a website with wordpress and sass. This folder structure is valid only while using underscores.me generated theme.

Steps to install and setup

  • Download the underscores theme with sassify option (advanced view) from underscores.me. Extract the downloaded folder to "mytheme" folder.

  • Move the "sass" folder to "src" folder which is one level above.

  • Change "mytheme" folder name to whichever name you would prefer. If you do so, please change the destination path in the Gruntfile.js appropriately.

  • Open "package.json" file and change the name and description.

  • Run the command "npm install", this will download all the required node modules to the root.

Deploy

It is quite simple to deploy all the compiled files to your wordpress theme folder. Just copy the "mytheme" folder to your wordpress "theme" directory.