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.
This commit is contained in:
Scott Walkinshaw
2012-09-20 14:36:25 -06:00
parent 33d78b7a0d
commit 588ea8afa3
6 changed files with 81 additions and 9 deletions

View File

@@ -67,6 +67,10 @@ This file is a placeholder for you to put in [custom post types](http://codex.wo
This file handles all of the CSS and JavaScript.
### sidebar.php
Class which provides a simple configuration interface to define what pages you want to show the sidebar on.
#### Stylesheets
Stylesheets are enqueued in the following order: