Commit Graph

17 Commits

Author SHA1 Message Date
Ben Word
bc52a4e09b Close #670 - Update to jQuery 1.9.1 2013-02-08 09:47:08 -06:00
Ben Word
6354758ad4 Change JS ordering
- Load jQuery before Modernizr so that the fallback method will
always be applied immediately after jQuery. If a script is
enqueued in the footer after jQuery, then the fallback shows up
in the footer. Modernizr will always be in the head so this
issue won't occur.

- Move plugins.js and main.js to footer

jQuery is still kept in the head to avoid conflicts with plugins
2013-02-05 16:10:19 -06:00
Ben Word
56f25ff00a JavaScript clean up
- Modernizr is now enqueued and included after stylesheets

- jQuery is no longer hardcoded since WP now supports protocol-relative
URLs

- jQuery fallback output is handled by a new function in lib/scripts.php
(the method is still the same one from HTML5 Boilerplate)
2013-02-04 22:16:31 -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
Ben Word
17c2dfa691 Close #646 - Replace ID's with classes 2013-01-27 20:32:57 -06:00
Ben Word
2ed9738afd Close #635 - Update to jQuery 1.9.0 2013-01-15 12:22:21 -06:00
Ben Word
31d58cb938 Update to jQuery 1.8.3 2012-12-06 11:47:49 -06:00
Ben Word
d13f58ba97 Remove lib/post-types.php and lib/metaboxes.php
We now recommend placing custom post types and
metaboxes within a plugin that contains all of
your site specific functionality.

See the latest update to https://github.com/retlehs/soil
to find an example:

https://github.com/retlehs/soil/tree/master/mu-plugins/base
2012-11-02 01:06:14 -05:00
Ben Word
5e8e0e78c1 Update docs for new sidebar exclusion method 2012-10-15 20:26:23 -05:00
Scott Walkinshaw
3df8d9901e Move Nav customizations into its own file
Considering the nav customization/cleanup code is fairly involved and
important, it shouldn't be hidden in the middle of cleanup.php
2012-10-03 13:44:35 -04:00
Ben Word
9e9aa92044 Fix #561 - Use TOC.md for documentation TOC 2012-10-02 18:41:19 -05: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
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
Scott Walkinshaw
81d1c8dd9e Update to jQuery 1.8.2 2012-09-21 08:32:07 -06:00
Scott Walkinshaw
38a51d06ec Update docs 2012-09-19 16:03:20 -04:00
Ben Word
7fdb2f07f5 Add new theme documentation 2012-09-03 11:01:29 -05:00