Skip to content

stinoga/wordpress-boilerplate

Repository files navigation

wordpress-boilerplate

Boilerplate starter code for Wordpress projects. Uses Grunt and Sass, alongside Bower for package management.

##The Stack

##Installation

1: Clone into your Wordpress theme directory.

> cd {theme_directory}
> git clone https://github.com/stinoga/wordpress-boilerplate.git

From now on, all your work will be done in your wordpress-boilerplate directory.

2: Install dependent Node and Bower packagaes.

> npm install && bower install

3: If your wordpress install is in git, move the gitignore to your root directory. You can also remove the git submodule for this theme. Run these from the root of your Wordpress install:

> git rm --cached wp-content/themes/wordpress-boilerplate/
> rm -rf wp-content/themes/wordpress-boilerplate/.git

4: Pull the wordpress starter files from this repository and drop them in the root folder of the site.

5: Code!

> grunt

##Building

When you are ready to push live, run the build command to minify your files.

> grunt build

##Thanks

Thanks to the folks at Bearded. I stole some some pieces from their excellent starter kit, Stubble.

About

Boilerplate theme for Wordpress projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published