Commit Graph

14 Commits

Author SHA1 Message Date
Ben Word
8ba19a0155 Static top navbar instead of fixed
This change allows us to simplify the code in both
app.css and cleanup.php
2013-02-09 17:41:45 -06:00
Ben Word
9042be77fa Introduce add_theme_support('bootstrap-gallery')
Only apply the Roots [gallery] shortcode if enabled in config.php
2013-02-04 20:11:00 -06:00
Ben Word
d9461cdd31 config.php organization 2013-02-04 20:04:00 -06:00
Ben Word
fea92a61aa Rewrites organization
- Create lib/rewrites.php and move everything from lib/htaccess.php
except the H5BP htaccess functionality into it

- In the config, change add_theme_support('rewrite-urls') to
add_theme_support('rewrites')

- Remove the Apache/LightSpeed HTTPD check for rewrites

- Update docs with better Nginx rewrite rules
2013-02-04 19:56:42 -06:00
Ben Word
433ad26e4d Close #638 - Add add_theme_support for Nice Search 2013-01-27 20:42:40 -06:00
Scott Walkinshaw
e0979b7b62 Return instead of echo class names 2012-10-10 16:04:47 -04:00
Scott Walkinshaw
f45f4f5fcb Comment should be consistent 2012-10-03 15:03:20 -04:00
Scott Walkinshaw
a27b194fe6 Allow the sidebar config functions to accepts args 2012-10-03 14:53:30 -04:00
Scott Walkinshaw
7f5eea8c69 Refactor Roots_Sidebar 2012-10-02 15:37:26 -04:00
Scott Walkinshaw
85596e11d0 Clarity over cleverness 2012-10-02 15:20:28 -04:00
Scott Walkinshaw
588ea8afa3 Refactor sidebar configuration
Instead of editing an if statement (which could get ugly quickly), just
edit configuration arrays of conditional tags and page template checks.
2012-10-02 15:20:28 -04:00
Scott Walkinshaw
af1b44e3dc Better comment regarding $content_width 2012-09-26 12:07:06 -04:00
Scott Walkinshaw
ba56e0fa4d Re-organize theme configuration and setup
functions.php should not contain any Roots specific code. It's just used
to require files and bootstrap Roots. lib/init.php now handles initial
theme setup and defines helper constants which did not belong in
lib/config.php.

config.php should be limited to strictly configuration settings.
2012-09-21 16:20:03 -04:00
Ben Word
5c777f361b Rename inc/ to lib/ 2012-08-20 19:19:39 -05:00