Clarity over cleverness
This commit is contained in:
@@ -22,15 +22,15 @@ function roots_display_sidebar() {
|
||||
* Any of these conditional tags that return true won't show the sidebar
|
||||
*/
|
||||
array(
|
||||
'404',
|
||||
'front_page'
|
||||
'is_404',
|
||||
'is_front_page'
|
||||
),
|
||||
/**
|
||||
* Page template checks (via is_page_template())
|
||||
* Any of these page templates that return true won't show the sidebar
|
||||
*/
|
||||
array(
|
||||
'page-custom'
|
||||
'page-custom.php'
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user