Go to file
Lukas Juhas 3dad157cb9 Merge branch 'master' into master 2017-02-03 11:57:03 +00:00
assets Pulled down update to submodule_dir 2016-12-15 12:48:28 +00:00
functions General updates 2015-10-15 17:24:32 +01:00
js Minified assets 2015-10-23 10:03:01 +01:00
templates 2.0.1 2016-08-09 13:22:26 +01:00
.gitattributes Create .gitattributes 2014-11-13 12:12:01 +00:00
.gitignore Updated v2 draft 2015-10-14 11:25:52 +01:00
.gitmodules Updated simple-grid submodule url 2015-12-09 17:53:20 +00:00
CHANGELOG.md update get_post_thumbnail_url function, 2.0.3 2017-01-17 12:04:02 +00:00
README.md Update README.md 2016-11-21 12:17:59 +00:00
footer.php 2.0.1 2016-08-09 13:22:26 +01:00
functions.php add forgotten default value for post_id in get_post_thumbnail_url 2017-01-17 12:25:58 +00:00
gulpfile.js Correct image source folder 2016-08-05 12:53:44 +01:00
header.php 2.0.1 2016-08-09 13:22:26 +01:00
index.php 2.0.1 2016-08-09 13:22:26 +01:00
package.json update get_post_thumbnail_url function, 2.0.3 2017-01-17 12:04:02 +00:00
page.php 2.0.1 2016-08-09 13:22:26 +01:00
screenshot.jpg General updates 2015-10-15 17:24:32 +01:00
single.php 2.0.1 2016-08-09 13:22:26 +01:00
style.css Minified assets 2015-10-23 10:03:01 +01:00

README.md

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 we thought we would create our 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 Boilerplate - semantically named files, organised by folders, 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
  • Laravel Elixir to define/customize and run basic Gulp tasks
  • Basic template files
  • Customised functions.php adding theme support for high customisation
  • Minimised HTTP requests for high Web Performance
  • Localised strings for multiple language support
  • Sass compiling and watching, css minification and live reload support

Installation

Clone the barebones repositories into your WordPress /wp-content/themes/ directory:

git clone https://github.com/benchmarkstudios/barebones
cd barebones

To include all its optional submodules (Simple Grid included):

git submodule init
git submodule update

Dependencies

Using Gulp and Laravel Elixir

Install Gulp as a global NPM package, if you don't have it already on your machine:

npm install --global gulp

Install Laravel Elixir:

npm install

Edit your gulpfile.js adding the required tasks (check the Laravel Elixir documentation for further information).

Then run:

gulp

to compile

gulp watch

to watch

gulp --production

to minify

This will execute all the Gulp tasks on the gulpfile.js.

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+