Skip to content

A lightweight, skeletal, responsive WordPress boilerplate theme for HTML5 and beyond. Great as a starting point with powerful features to encourage rapid development for most projects.

Notifications You must be signed in to change notification settings

bmsdan/barebones

 
 

Repository files navigation

barebones

A lightweight and skeletal WordPress boilerplate theme for HTML5 and beyond. There's lots of these out there but most themes include lots of bloat and files which you might not necessarily need, so I thought I'd create my own which is great as a starting point with powerful features to encourage rapid development for most projects.

Features

  • Reset, normalisation and base font/form styles
  • Sass powered - semantically named files all compiled into a single file
  • Semantic use of HTML5 elements, includes Google HTML5 shiv
  • WAI-ARIA role ready
  • Comes pre-bundled with cached CDN version of jQuery
  • jQuery plugin agnostic
  • Basic index.php Loop template
  • Customised functions.php adding theme support for high customisation
  • Minimised HTTP requests for high Web Performance
  • Localised strings for multiple language support
  • Grunt automatic image optimisation, Sass compiling and watching, css minification and live reload support
  • Use of Browserify to modularise the JavaScript structure and stop those huge, spaghetti script files!

Installation

Dependencies

Optional

Clone/download the barebones repositories into your WordPress /wp-content/themes/ directory and run the following to install all of this project's Grunt dependencies:

$ npm install

Then run grunt to execute the default tasks: compiling sass/js and creating the watcher.

To aid performance, the image-centric tasks aren't run by default and can be executed by running:

$ grunt img

WordPress Support

Compatible with WordPress 3.2 and above, but always use the latest version.

Browser Support

  • Internet Explorer 8.0+
  • Firefox 3.0+
  • Safari 4.0+
  • Chrome 14.0+
  • Opera 10.0+

Roadmap

  • Organisation of Sass folders
  • Simple grid framework
  • Organisation of JS
  • Investigate browserify issue

About

A lightweight, skeletal, responsive WordPress boilerplate theme for HTML5 and beyond. Great as a starting point with powerful features to encourage rapid development for most projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 48.7%
  • PHP 35.6%
  • JavaScript 15.7%