2014-12-31 17:29:32 -05:00
2014-10-24 17:21:44 -05:00
2014-12-10 14:11:12 -06:00
2013-02-08 09:18:02 -06:00
2014-12-24 17:45:47 -06:00
2013-09-08 16:27:26 -03:00
2014-10-24 17:21:44 -05:00
2014-01-18 00:23:07 -06:00
2014-10-27 18:45:35 -05:00
2014-12-06 22:34:25 -06:00
2013-09-08 16:27:26 -03:00
2013-11-07 21:28:52 -06:00
2014-12-24 17:45:47 -06:00
2014-06-16 12:41:45 -04:00
2013-11-07 21:28:52 -06:00
2014-10-24 17:21:44 -05:00

Roots Starter Theme

Build Status devDependency Status

Roots is a WordPress starter theme based on HTML5 Boilerplate & Bootstrap that will help you make better themes.

Features

Go further with Roots

Clean up WordPress

Install the Soil plugin to enable additional features:

  • Root relative URLs
  • Nice search (/search/query/)
  • Cleaner output of wp_head and enqueued assets markup

Modernize your WordPress stack

Bedrock gets you started with the best development tools, practices, and project structure.

  • Dependency management with Composer
  • Automated deployments with Capistrano
  • Easy environment specific configuration

Installation

Clone the git repo - git clone git://github.com/roots/roots.git - or download it and then rename the directory to the name of your theme or website.

If you don't use Bedrock, you'll need to add the following to your wp-config.php on your development installation:

define('WP_ENV', 'development');

Theme activation

Reference the theme activation documentation to understand everything that happens once you activate Roots.

Configuration

Edit lib/config.php to enable or disable theme features and to define a Google Analytics ID.

Edit lib/init.php to setup navigation menus, post thumbnail sizes, post formats, and sidebars.

Theme development

Roots uses gulp as its build system.

Install gulp

Unfamiliar with npm? Don't have node installed? Download and install node.js before proceeding.

From the command line:

  1. Install gulp and bower globally with npm install -g gulp bower.
  2. Navigate to the theme directory, then run npm install.

You now have all the necessary dependencies to run the build process.

Available gulp commands

  • gulp — Compile and optimize the files in your assets directory
  • gulp watch — Compile assets when file changes are made
  • gulp --tasks — Lists all the available tasks and what they do

Documentation

  • Roots 101 — A guide to installing Roots, the files, and theme organization
  • Theme Wrapper — Learn all about the theme wrapper
  • Build Script — A look into how Roots uses gulp
  • Roots Sidebar — Understand how to display or hide the sidebar in Roots

Contributing

Contributions are welcome from everyone. We have contributing guidelines to help you get started. You can help out by:

Support

Use the Roots Discourse to ask questions and get support.

Description
Customised by Bad Egg Digital
https://roots.io/sage/
Readme 12 MiB
Languages
PHP 46.6%
SCSS 29.7%
JavaScript 11.6%
Blade 11.6%
CSS 0.5%