Merge pull request #28 from lukasjuhas/master

2.0.1
This commit is contained in:
Lukas Juhas 2016-08-09 13:24:55 +01:00 committed by GitHub
commit a859d4e321
10 changed files with 76 additions and 64 deletions

12
CHANGELOG.md Normal file
View File

@ -0,0 +1,12 @@
# barebones changelog
## 2.0.1
* Comment out example "add_image_size" as it can be easily forgotten which leaves you with extra unused image size.
* Add CHANGELOG.MD to track changes
* Tidy up formatting using PHP-CS-Fixer (mostly spacing)
* Update README.MD dependencies
## 2.0.0
* Refreshed tooling using Elixir with lots of improvements

View File

@ -33,6 +33,8 @@ To include all its optional submodules ([Simple Grid](https://github.com/benchma
* [Node.js](http://nodejs.org)
* [Gulp](http://gulpjs.com)
* [Gulp Imagemin](https://github.com/sindresorhus/gulp-imagemin)
* [Laravel Elixir](https://github.com/laravel/elixir)
### Using Gulp and Laravel Elixir

View File

@ -12,14 +12,13 @@ require_once 'functions/example.php';
* Add support for useful stuff
*/
if ( function_exists( 'add_theme_support' ) )
{
if (function_exists('add_theme_support')) {
// Add support for document title tag
add_theme_support('title-tag');
// Add Thumbnail Theme Support
add_theme_support('post-thumbnails');
add_image_size( 'custom-size', 700, 200, true );
// add_image_size( 'custom-size', 700, 200, true );
// Add Support for post formats
// add_theme_support( 'post-formats', ['post'] );
@ -84,8 +83,7 @@ add_action( 'wp_enqueue_scripts', 'barebones_scripts' );
* Nav menus
*/
if ( function_exists( 'register_nav_menus' ) )
{
if (function_exists('register_nav_menus')) {
register_nav_menus([
'header' => 'Header',
'footer' => 'Footer'

View File

@ -1,6 +1,6 @@
{
"name": "barebones",
"version": "2.0.0",
"version": "2.0.1",
"author": "Benchmark Studios",
"description": "A lightweight and skeletal WordPress boilerplate theme for HTML5 and beyond",
"license": "MIT",