Commit Graph

78 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
bc52a4e09b Close #670 - Update to jQuery 1.9.1 2013-02-08 09:47:08 -06:00
Ben Word
4093095dc7 Fix #677 - Output author title with get_the_author 2013-02-08 09:29:57 -06:00
Ben Word
10cf6b0a64 Update 404 template based on H5BP 2013-02-07 15:30:36 -06:00
Ben Word
be2e203cc5 Update included H5BP .htaccess
- Add latest updates from H5BP

- Remove various parts that were previously commented out
2013-02-07 14:54:06 -06:00
Ben Word
85890038cb Merge pull request #672 from tomdxw/fix-search-form-bug
Allow get_search_form() to be called more than once per request
2013-02-05 14:20:07 -08: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
Tom Adams
43a0f3c24f Allow get_search_form() to be called more than once per request 2013-02-05 16:33:40 -05:00
Ben Word
eb9f9896a4 Update comment about jQuery 2013-02-04 22:30:48 -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
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
petermartin
51ba28379b Added backslash to add_editor_style
Editor style css wasn't being applied for me until adding the backslash.
2013-01-31 12:13:21 -05: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
Scott Walkinshaw
0abc07d11c Add dynamic sidebars to template wrapper 2013-01-23 15:43:31 -05:00
Ben Word
2ed9738afd Close #635 - Update to jQuery 1.9.0 2013-01-15 12:22:21 -06:00
Scott Walkinshaw
aa8d428016 Merge pull request #619 from leoj3n/suggestion.title_function
move template title to function
2012-12-26 15:23:46 -08:00
Ben Word
6ae15813aa Implement latest Nice Search 2012-12-26 11:36:35 -06:00
Ben Word
8000e5c611 Update [gallery] shortcode
- Roll in changes added from WordPress 3.5

- More minimal code output
2012-12-26 11:22:28 -06:00
Joel Kuczmarski
1f1b45b5f3 reformat roots_title syntax again 2012-12-12 21:07:25 -06:00
Joel Kuczmarski
319c485976 reformat roots_title syntax 2012-12-12 21:01:55 -06:00
Joel Kuczmarski
3bfea0daf4 move template title to function 2012-12-12 20:20:49 -06:00
Ben Word
31d58cb938 Update to jQuery 1.8.3 2012-12-06 11:47:49 -06:00
Ben Word
a9d4cf35dd Replace wiki link with docs link 2012-11-11 11:03:58 -06:00
Scott Walkinshaw
4db03fb63d first_run logically makes sense now 2012-11-05 13:37:26 -07:00
Scott Walkinshaw
658f8318ce Once more 2012-11-05 15:23:35 -05:00
Scott Walkinshaw
f03fbac894 Fix activation first run check 2012-11-05 15:14:06 -05:00
Scott Walkinshaw
d55ce57cbb Fix option name variable 2012-11-05 15:06:45 -05:00
Scott Walkinshaw
2c1fe0b2ef Simplify even more 2012-11-05 15:06:45 -05:00
Scott Walkinshaw
18acf1af0b Yes, this is PHP 2012-11-05 15:06:45 -05:00
Scott Walkinshaw
d36127b147 Refactor activation options validation 2012-11-05 15:06:45 -05:00
Ben Word
9a48ccff70 Clean up 26deb029ee 2012-11-02 11:19:46 -05:00
Ben Word
998474f4fc Merge pull request #587 from wilsonwc/master
Fix for compatibility with ubermenu
2012-11-02 08:42:30 -07: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
26deb029ee Fix #580 - Menu always gets added & set on activation
Also updated the method of setting the permalink structure
on activation.
2012-11-01 18:23:49 -05:00
Ross Wilson
ac6057ecf4 Fix for compatibility with ubermenu
Fix for issue #586
2012-10-31 22:08:01 -06:00
Foxaii
14bf987971 Corrected spacing before pull. 2012-10-16 14:07:10 +02:00
Foxaii
47df2fb3fa Unset menu bugfix. Support for additional classes.
Previous nav walker resulted in an error when no menu is set.
This fix supports supplementary classes i.e. nav-header nav-header-blue. 
N.B. Bootstrap classes (nav-header, divider, divider-vertical) must be added first.
2012-10-15 21:41:51 +02:00
jloosli
a01a1281bb fix roots_fix_duplicate_subfolder_urls isset check
function checked if $matches[1] & $matches[2] were set, but next line operates on $matches[1][0] & $matches[2][0], so under certain circumstances, you get the following Notice: Undefined offset: 0.

Now it checks for the [0] offsets from the start.
2012-10-11 17:18: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
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
Scott Walkinshaw
c02f877b59 Fix callback reference 2012-10-02 15:52:31 -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
a7ab3e0307 Minor naming tweak 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