diff options
Diffstat (limited to 'themes/twentyfourteen/inc/template-tags.php')
-rw-r--r-- | themes/twentyfourteen/inc/template-tags.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/twentyfourteen/inc/template-tags.php b/themes/twentyfourteen/inc/template-tags.php index f63ee828..1d35d0d5 100644 --- a/themes/twentyfourteen/inc/template-tags.php +++ b/themes/twentyfourteen/inc/template-tags.php @@ -140,7 +140,7 @@ function twentyfourteen_categorized_blog() { set_transient( 'twentyfourteen_category_count', $all_the_cool_cats ); } - if ( 1 !== (int) $all_the_cool_cats ) { + if ( $all_the_cool_cats > 1 || is_preview() ) { // This blog has more than 1 category so twentyfourteen_categorized_blog should return true return true; } else { |