WordPress Starter Theme for use as a starting template for building custom themes. Uses SCSS and AutoPrefixr, HTML5 Boilerplate with Modernizr and Normalize.css, and Grunt for all processing tasks. Tested with WordPress 3.8.1.
Rename folder to your theme name, change the
style.scss intro block to your theme information. Open the theme directory in terminal and run
npm install to pull in all Grunt dependencies. Run
grunt to execute tasks. Code as you will. If you have the LiveReload browser extension, it will reload after any SCSS or JS changes.
- Concatenate and minify plugins in
- Minify and lint
To concatenate and minify your jQuery plugins, add them to the
assets/js/vendor directory and add the
js filename and path to the
uglify task. Previous versions of the starter theme automatically pulled all plugins in the
vendor directory, but this has changed to allow more granular control and for managing plugins and assets with bower.
To optimize images, run
grunt imagemin. This was previously included in the default
watch task, but there are currently a few issues with processing images multiple times and removing their contents.
The theme includes deployments via grunt-rsync. The Gruntfile includes setups for staging and production - edit your paths and host, then run
grunt rsync:staging or
grunt rsync:production to deploy your files via rsync.
- Normalized stylesheet for cross-browser compatibility using Normalize.css version 3 (IE8+)
- Easy to customize
- Flexible grid based on work from Chris Coyier
- Media Queries can be nested in each selector using SASS
- SCSS with plenty of mixins ready to go
- Much much more
- Use Google Libraries
- WordPress SEO by Yoast
- Google Analytics for WordPress by Yoast
- W3 Total Cache
- Gravity Forms
Anyone and everyone is welcome to contribute! Check out the Contributing Guidelines.
Without these projects, this WordPress Starter Theme wouldn't be where it is today.