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.
This commit is contained in:
Scott Walkinshaw
2012-09-21 16:20:03 -04:00
parent b2c340da05
commit ba56e0fa4d
6 changed files with 60 additions and 43 deletions

View File

@@ -15,7 +15,5 @@ Roots is a starting WordPress theme made for developers thats based on [HTML5
## Development
* [Contributing to Roots](/retlehs/roots/blob/master/CONTRIBUTING.md) — Guidelines on how to
contribute effectively.
* [Extending and customizing Roots](extend.md) — Going further with
Roots.
* [Contributing to Roots](/retlehs/roots/blob/master/CONTRIBUTING.md) — Guidelines on how to contribute effectively.
* [Extending and customizing Roots](extend.md) — Going further with Roots.