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:
@@ -15,7 +15,5 @@ Roots is a starting WordPress theme made for developers that’s 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.
|
||||
|
||||
Reference in New Issue
Block a user