Commit Graph

565 Commits

Author SHA1 Message Date
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
Scott Walkinshaw
20da3cc79a Merge pull request #576 from jloosli/master
Fix bug on roots_fix_duplicate_subfolder_urls
2012-10-11 19:04:07 -07: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
Ben Word
15d67295aa Roots 6.1.0 2012-10-02 18:43:44 -05:00
Ben Word
9e9aa92044 Fix #561 - Use TOC.md for documentation TOC 2012-10-02 18:41:19 -05:00
Ben Word
65c13c6ea9 Use PHP Alternative Syntax in header templates 2012-10-02 18:38:01 -05:00
Ben Word
c0f8559cc2 Update .gitignore 2012-10-02 18:35:35 -05:00
Ben Word
bfdd804c73 Add missing semicolons 2012-10-02 18:34:30 -05:00
Ben Word
7e705f4493 Single template now has same tags output as archive 2012-10-02 18:32:51 -05:00
Scott Walkinshaw
f8d2010def Merge pull request #556 from retlehs/sidebar_config
Sidebar config
2012-10-02 12:55:38 -07: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
Scott Walkinshaw
33d78b7a0d Merge pull request #558 from retlehs/config_setup_reorg
Re-organize theme configuration and setup
2012-09-26 09:19:00 -07:00
Scott Walkinshaw
af1b44e3dc Better comment regarding $content_width 2012-09-26 12:07:06 -04:00
Scott Walkinshaw
eec11c76b9 Re-order init file 2012-09-21 16:27:33 -04:00
Scott Walkinshaw
03a6ad0784 Fix require order 2012-09-21 16:24:57 -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
b2c340da05 Merge pull request #557 from retlehs/jquery-1.8.2
Update to jQuery 1.8.2
2012-09-21 12:57:29 -07:00
Scott Walkinshaw
81d1c8dd9e Update to jQuery 1.8.2 2012-09-21 08:32:07 -06:00
Scott Walkinshaw
671cb95ebc Replace has_posts with built-in have_posts 2012-09-20 12:42:46 -06:00
Scott Walkinshaw
ca582c1aff Be consistent with PHP template tags 2012-09-20 12:40:43 -06:00
Scott Walkinshaw
4fda0a7ddf Merge pull request #555 from retlehs/vcard_refactor
vCard refactor
2012-09-20 10:15:00 -07:00
Scott Walkinshaw
43e66ac2db Update CHANGELOG 2012-09-20 10:41:13 -06:00
Scott Walkinshaw
25d13f4a4d Simplify updating instance 2012-09-20 10:30:48 -06:00
Scott Walkinshaw
0f375836f2 Use PHP5 __construct 2012-09-20 10:30:39 -06:00
Scott Walkinshaw
88f9863cf2 Fix initial display 2012-09-20 10:24:27 -06:00
Scott Walkinshaw
afa059dfa6 DRY up vCard Widget 2012-09-20 00:16:32 -04:00
Scott Walkinshaw
9116c3a69f Merge pull request #554 from retlehs/move_html_into_templates
Move HTML into templates
2012-09-19 13:04:07 -07:00
Scott Walkinshaw
989fb246ba Add note about CONTRIBUTING.md 2012-09-19 16:03:21 -04:00
Scott Walkinshaw
fbd9d591da Fix CHANGELOG 2012-09-19 16:03:20 -04:00
Scott Walkinshaw
a44397aa30 template-tags.php does not exist anymore 2012-09-19 16:03:20 -04:00
Scott Walkinshaw
38a51d06ec Update docs 2012-09-19 16:03:20 -04:00
Scott Walkinshaw
b61a3b0285 Move roots_entry_meta into its own template
No need for this HTML to be in a function. Now instead of calling the
function, just use get_template_part
2012-09-19 16:03:20 -04:00
Scott Walkinshaw
267e24e9a3 Move Google Analytics code into footer template
Once again, HTML tags should be in the templates when possible.

actions.php is no longer needed now as well.
2012-09-19 16:03:20 -04:00
Scott Walkinshaw
e08024b730 Move feed link into template
All HTML should be in the templates whenever possible.
2012-09-19 16:03:20 -04:00
Scott Walkinshaw
b9cb9de4b9 Move is_element_empty function to utils 2012-09-19 14:57:14 -04:00
Scott Walkinshaw
a54850cd44 Formatting 2012-09-19 14:46:06 -04:00
Scott Walkinshaw
c707448a72 Enforce code standards
Correct this is not.
2012-09-18 16:47:46 -03:00
Ben Word
7b510d61f4 Add CONTRIBUTING.md to assist with the new GitHub UI 2012-09-17 22:52:23 -05:00
Ben Word
626b8ca6d9 Update editor-style.css 2012-09-17 22:41:09 -05:00
Ben Word
0b506d42c0 Merge pull request #550 from Foxaii/master
Add nav walker support for CSS dividers and nav-header
2012-09-16 16:51:00 -07:00
Foxaii
c27b9218b4 Corrected spacing. 2012-09-17 01:24:42 +02:00
Foxaii
83b0984eab Support for dividers & nav header classes 2012-09-16 21:45:33 +02:00