Ben Word
80728a1b94
Move src/ to app/
2017-04-03 19:46:52 -06:00
Ben Word
5ac56aadf2
Fix redirect loop
2017-04-03 18:49:09 -06:00
Ben Word
700a556c02
templates/ -> resources/views/
2017-04-03 18:40:55 -06:00
Russell Fair
068a229e30
add version check for WordPress version less than 4.7.0
2017-03-01 23:48:26 +00:00
Toby Schrapel
67818ee90c
Update functions.php ( #1821 )
2017-01-31 01:25:04 -08:00
Ben Word
d930f19c0d
Close #1791 - Only disable customizer if theme isn't activated
2017-01-08 14:19:42 -07:00
Ben Word
9c522ed9f4
Fix conflict with WP core
2016-12-30 12:51:55 -07:00
QWp6t
50bc9d8525
Merge branch 'master' into config-class
2016-12-28 13:20:50 -08:00
QWp6t
6ccdb6d799
Throw errors if minimum requirements aren't met ( #1782 )
2016-12-28 13:19:19 -08:00
QWp6t
c0fc19ef61
Use Config object to store config options
2016-12-24 23:14:38 -08:00
QWp6t
50a6f8ea60
Do not use after_switch_theme hook, closes #1768
2016-12-24 04:29:14 -08:00
QWp6t
fb19145d42
Theme activation updates 'stylesheet' option instead of 'template'
2016-11-07 00:57:41 -08:00
Ben Word
d81b6fdb87
Update README [ci skip]
2016-09-04 21:46:52 -06:00
QWp6t
34253864fa
Fix display of theme name in Customizer
2016-07-16 02:43:24 -07:00
QWp6t
eae36be2c9
Refactor functions.php
...
* Isolate scope of included files
* Load composer dependencies before loading Sage procedural code
Note that scope isolation was originally proposed by @al-the-x in 2014,
and we rejected it at the time. Our theory at the time was that shared
scope might be expected by WordPress developers. But since then we've done
quite a number of things that are atypical of WordPress development,
including our use of namespaces, which in itself is a form of scope
isolation.
2016-07-16 00:35:45 -07:00
Ben Word
508de7dd3b
Composer autoload conditional
2016-04-03 17:03:42 -05:00
Matthew Henkler
a994889f9a
Move Sage includes from autoloader back to functions.php to fix issues including in Bedrock
2016-03-25 11:21:57 -05:00
QWp6t
b491f76974
All function braces need to be on new line
2016-03-11 18:06:27 -05:00
QWp6t
9e2917e4d5
Fix issue with WP loading wrong index.php
2016-03-11 18:06:27 -05:00
QWp6t
6a4d3bd51a
Conform to new rules
2016-03-11 18:03:15 -05:00
QWp6t
9eaffa3a2d
Restructure theme, use autoloader
2016-03-11 18:00:05 -05:00
Ben Word
1607f6e371
Add support for theme customizer
2015-11-09 13:25:04 -06:00
Ben Word
045b47b444
Rename config.php to setup.php
2015-10-10 14:53:54 -05:00
Ben Word
23ab579f37
Move init.php to config.php
2015-10-10 13:09:20 -05:00
Ben Word
9a14571814
Use Sass to style search form, remove search template
2015-10-10 12:53:19 -05:00
QWp6t
6d05c67f44
Remove ConditonalTagCheck class
2015-08-11 18:46:58 -07:00
Ben Word
64e78cf003
Remove nav walker and Bootstrap navbar
2015-04-28 23:59:59 -05:00
Ben Word
7066299690
Remove Bootstrap gallery
2015-04-28 23:49:27 -05: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
a903e08b86
Use short array syntax
2015-01-18 16:45:18 -06:00
Ben Word
7f64125701
Remove theme activation
2015-01-10 14:53:33 -06:00
Ben Word
030c084134
Rename to Sage
2015-01-09 20:52:29 -06:00
Ben Word
e8822a2d67
Asset improvements (gulp)
...
Ref #1149 & https://github.com/roots/roots/blob/assets-improvements/lib/assets.php
2014-10-27 18:45:35 -05:00
Ben Word
0c1ae408e0
Simplify comments, use core comment form and list
2014-10-24 17:06:41 -05:00
Nicholas Fox
eb5ff6f187
Add library comments
2014-07-02 18:43:08 +01:00
Ben Word
bb91236440
Merge master
2014-06-30 00:24:08 -05:00
David Rogers
a19b89f023
Reducing duplication and better utilizing the WP built-in locate_template()
...
Re recommendations from @QWp6t in roots/roots#1042
2014-06-16 00:03:46 -04:00
Ben Word
7551f99641
Re-add excerpt and wp_title functions from cleanup.php
...
Rename custom.php to extras.php
2014-03-30 19:36:47 -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
a54c43d880
Move page titles into separate file
2013-06-23 12:22:32 -05:00
Ben Word
893244bbd3
Move gallery shortcode into separate file
2013-06-23 12:19:49 -05:00
Ben Word
5b52ddad22
Move root relative URLs into separate file
2013-06-23 12:18:01 -05:00
Ben Word
4aa4be182b
Move theme wrapper into separate file
2013-06-23 12:15:08 -05: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
260fc4c353
Comments clean up, consistent formatting
2013-02-15 12:13:18 -06:00
Ben Word
cf4ab3b2df
Use Bootstrap media object for listing comments
...
http://twitter.github.com/bootstrap/components.html#media
- Introduce lib/comments.php: contains Roots_Walker_Comment
- Update templates/comments.php to use the new walker, general
clean up
2013-02-11 23:50:49 -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
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
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