Created
October 29, 2013 16:56
-
-
Save barbwiredmedia/7218516 to your computer and use it in GitHub Desktop.
Wordpress Roots Theme config.php Conditional tag checks to keep template/ page from displaying sidebar. This is that array example http://roots.io/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
array( | |
'is_404', | |
'is_front_page', | |
array('is_page', array('instructors', '',)), //page-instructors.php | |
array('is_page', array('contact', '',)), | |
array('is_singular', array('instructor', '',)), // single-instructor.php | |
array('is_singular', array('class', '',)) | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment