Scott Walkinshaw
fe94039e70
Update ConditionalTagCheck and usage docs
...
When passing an argument to a function for ConditionalTagCheck, the
argument should *not* always be an array. The function will be called
wit the arguments as is and not modified. So if the function takes a
string argument, keep it as a string. If it takes an array, use an
array.
2015-03-03 15:26:30 -05:00
Scott Walkinshaw
65382410b5
Restore template-custom to sidebar config
2015-02-27 22:07:43 -06:00
Ben Word
3fe2fa9d92
config.php clean up
2015-02-20 16:21:32 -06:00
Scott Walkinshaw
e1663c5d2f
Convert Sidebar to ConditionalTagCheck
...
Simplify and generalize class since it had nothing to do directly with
the sidebar. Now it can be used for other purposes as well.
2015-02-19 15:36:42 -05:00
Ben Word
594251ae44
Update referenced file name
2015-01-27 16:40:38 -06:00
Ben Word
f4d64d23c9
Update PHP files to pass coding standards
2015-01-24 00:48:50 -06:00
Ben Word
a903e08b86
Use short array syntax
2015-01-18 16:45:18 -06:00
Ben Word
587fbf6c35
Add namespace
2015-01-10 14:49:46 -06:00
Ben Word
030c084134
Rename to Sage
2015-01-09 20:52:29 -06:00
QWp6t
d1e2196f2c
Store display_sidebar in static variable
2014-11-11 14:50:56 -08:00
Ben Word
a36a8e4372
Close #1127 - Assume prod if WP_ENV is undefined
2014-08-15 12:51:47 -05:00
Ben Word
a1edc5404f
Merge pull request #1090 from CFXd/move-main-and-sidebar-markup-out-of-php
...
Move <main> and .sidebar markup out of PHP and into LESS
2014-08-15 12:30:09 -05:00
QWp6t
1c171bc4cb
Defines WP_ENV if it is not already defined
2014-08-13 23:50:39 -07:00
Michael Silber
32acdb3860
Move <main> and .sidebar markup out of PHP
...
Add more efficient LESS with variables
Add new line to _variables.less
Add sidebar class to body element instead of main element
Change body sidebar class to .sidebar-active
Change body sidebar class to .sidebar-primary
Correct spacing issues
2014-07-26 10:59:49 -04:00
Chris Carr
31d4e8a0a0
Move main/sidebar class filters into config.php (fix missing arg errors).
2014-04-12 20:49:22 -07:00
Ben Word
b4c7b9b4b2
Offer just one header, the BS top navbar
2014-03-31 20:14:33 -05:00
Ben Word
92cb5bc518
Use 'roots/' for filters
2014-03-30 21:23:00 -05:00
Ben Word
ea5699f284
Use apply_filters for main and sidebar classes
2014-03-30 20:47:16 -05:00
Ben Word
dede0bd851
Close #992 - Move some Roots features into Soil
2014-03-11 23:34:17 -05:00
Ben Word
f8bc0ca80b
Move rewrites to a plugin, Roots 6.5.1
2013-11-05 14:54:09 -06:00
Ben Word
a6d3139269
Close #888 - Add comment about Universal Analytics
2013-11-03 16:04:50 -06:00
Jamee Mikell
029e0c61e0
Update comment per swalkinshaw's suggestion
2013-09-03 13:32:06 -04:00
Jamee Mikell
1a40ba6530
Comment config.php excerpt length is in words
...
Add comment to POST_EXCERPT_LENGTH to indicate it is in words, not
characters.
2013-09-01 13:19:41 -04:00
Ben Word
0d6a8dbdfd
Update $content_width
2013-08-25 20:06:17 -05:00
Foxaii
c63fa4f1e5
Navbar & Column Classes
2013-08-19 23:32:50 +01:00
Ben Word
865558534b
Update to latest Bootstrap 3 (RC2)
2013-08-13 22:50:59 -05:00
Ben Word
3e6e52b9b5
Use same sizes for small grid
2013-07-28 12:03:57 -05:00
Foxaii
cd20e417d2
Library changes
2013-07-28 13:23:38 +01:00
Ben Word
ccb79488c9
Move helper constants to config.php
2013-06-23 12:13:15 -05:00
Mark Figueredo
9fbecfc2c6
Removed extra space before apply filters
2013-05-23 12:06:42 -03:00
Mark Figueredo
7ff73d0f6b
Add roots_display_sidebar filter
...
Add filter to sidebar display to have the ability to change when it is displayed in child themes and other circumstances.
https://github.com/retlehs/roots/issues/767
2013-05-22 15:29:53 -03:00
Ben Word
cab26194a3
Move HTML5 Boilerplate's .htaccess to a plugin
...
https://github.com/retlehs/wp-h5bp-htaccess
2013-04-30 21:35:18 -05:00
Ben Word
553dc1cfb7
Rename page-custom.php to template-custom.php
2013-04-30 20:51:18 -05:00
Foxaii
b7cd04899d
Add jQuery CDN to theme features.
2013-03-06 17:19:57 +00:00
Ben Word
260fc4c353
Comments clean up, consistent formatting
2013-02-15 12:13:18 -06:00
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