Customized Roots Theme
Roots is a starting WordPress theme made for developers that’s based on HTML5 Boilerplate and Bootstrap from Twitter.
Difference to the original: Adding and removing a few forced choices, esp. the cleanup stuff. Another goal: proper OOP Singleton patterns - removing all that moronic procedural crap which might - and always does! - lead to nasty accidents with multiple defined functions.. asides of being unreadable!
- Source: https://github.com/retlehs/roots
- Home Page: http://www.rootstheme.com/
- 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
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.
Take a look at the documentation table of contents.
- HTML5 Boilerplate’s markup
- 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_headand 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)
- above mentioned Singleton / OOP patterns
- less excessive forced cleanup "choices"
- qTranslate compatiblity
- More fun with a working HeadJS plugin solution ;)