- Implement scribu’s Theme Wrapper (see base.php) - Move templates, comments.php, and searchform.php to templates/ folder - Rename loop- files to content- - Remove all hooks except roots_head and roots_footer - Use templates/page-header.php for page titles - Use head.php for everything in <head>
Roots Theme
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 - Read Theme Activation to understand everything that happens once you activate Roots
Configuration
Edit inc/config.php to enable support for major functionality and to define constants that are used throughout the theme.
Features
- HTML5 Boilerplate’s markup and
.htaccess - Bootstrap from Twitter
- Root relative URLs
- Clean URLs (no more
/wp-content/) - All static theme assets are rewritten to the website root (
/css/,/img/, and/js/) - Cleaner HTML output of navigation menus
- Cleaner output of
wp_headand enqueued scripts/styles - Posts use the hNews microformat
- Multilingual ready (English, Spanish, French, Italian, Dutch, Brazilian Portuguese, Macedonian, Finnish, Danish, Turkish, Swedish, Bulgarian, Norwegian, Catalan, Polish, Hungarian, Russian)
Contributing
Everyone is welcome to help improve this project. There are several ways you can contribute:
- Reporting issues (please read issue guidelines)
- Suggesting new features
- Writing or editing docs
- Writing or refactoring code
- Fixing issues
- Replying to questions on the mailing list
- Donating
Project information
- Source: https://github.com/retlehs/roots
- Web: http://www.rootstheme.com/
- Docs: https://github.com/retlehs/roots/wiki
- Mailing list: http://groups.google.com/group/roots-theme
- Twitter: @retlehs
- Contributors: https://github.com/retlehs/roots/contributors
License
Major components:
- HTML5 Boilerplate: The Unlicense
- Modernizr: MIT/BSD license
- jQuery: MIT/GPL license
- Normalize.css: Public Domain
- Bootstrap: Apache 2.0 license
Everything else:
The Unlicense (aka: public domain)
Description
Languages
PHP
46.6%
SCSS
29.7%
JavaScript
11.6%
Blade
11.6%
CSS
0.5%