WordPress starter theme based on Underscores using Bootstrap with LESS for responsiveness, Grunt.js for automation and Bower for front end package management.
It is assumed that you already have Grunt, Bower and LESS installed on your local machine.
You also need grunt-init
, which you can install globally with
npm install -g grunt-init
To clone the repository and add the template to grunt-init for automated project scaffolding run
git clone [email protected]:4Digits/bootstrap_s.git ~/.grunt-init/bootstrap_s
Install a copy of WordPress on your localhost. Cd into your themes folder with
cd /var/www/YourWordPressInstallation/wp-content/themes
and create a new, empty theme folder.
grunt-init bootstrap_s
You should give your theme a title and function-prefix (e.g. MyTheme / mytheme).
npm install
To add your packages of choice, modify bower.json
and run
bower install
grunt compile
grunt
In order to monitor file changes in real time without manually refreshing your browser, install LiveReload for Chrome and run it in your tab.