Skip to content
/ sage Public

WordPress starter theme with Laravel Blade components and templates, Tailwind CSS, and block editor support

License

Notifications You must be signed in to change notification settings

roots/sage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c3e7861 · Mar 10, 2013
Mar 5, 2013
Mar 6, 2013
Mar 10, 2013
Mar 8, 2013
Mar 5, 2013
Feb 8, 2013
Oct 2, 2012
Feb 12, 2013
Mar 5, 2013
Feb 11, 2013
Jan 13, 2013
Feb 12, 2013
Feb 6, 2013
Feb 15, 2013
Jan 28, 2013
Aug 18, 2012
Aug 18, 2012
Mar 27, 2011
Aug 18, 2012
Feb 8, 2013

Repository files navigation

Roots is a starting WordPress theme made for developers that’s based on HTML5 Boilerplate and Bootstrap from Twitter.

Installation

  • Clone the git repo - git clone git://github.com/retlehs/roots.git - or download it
  • Reference the theme activation documentation to understand everything that happens once you activate Roots

Configuration

Edit lib/config.php to enable or disable support for various theme functions and to define constants that are used throughout the theme.

Edit lib/init.php to setup custom navigation menus and post thumbnail sizes.

Documentation

Take a look at the documentation table of contents.

Features

  • HTML5 Boilerplate’s markup and .htaccess
  • Bootstrap from Twitter
  • Theme wrapper
  • Root relative URLs
  • Clean URLs (no more /wp-content/)
  • All static theme assets are rewritten to the website root (/assets/css/, /assets/img/, and /assets/js/)
  • Cleaner HTML output of navigation menus
  • Cleaner output of wp_head and enqueued scripts/styles
  • Posts use the hNews microformat
  • Multilingual ready (Brazilian Portuguese, Bulgarian, Catalan, Danish, Dutch, English, Finnish, French, German, Hungarian, Indonesian, Italian, Korean, Macedonian, Norwegian, Polish, Russian, Simplified Chinese, Spanish, Swedish, Traditional Chinese, Turkish, Vietnamese)

Build Script

The grunt branch contains a build script powered by grunt. More information can be found at Integrating grunt.js with Roots.

  • Easily compile LESS files
  • Minification and concatenation without plugins
  • Fewer requests made to the server (one CSS file, one main JS file besides Modernizr and jQuery)
  • Ensures valid JavaScript
  • Others working on your project are able to use the same build script and have a unified development process
  • Code is optimized for production use

Contributing

Everyone is welcome to help contribute and improve this project. There are several ways you can contribute:

Support

Use the Google Group to ask questions and get support.