This commit is contained in:
IanDelMar 2019-10-06 09:59:56 +02:00 committed by GitHub
parent c2a06502b7
commit 4ba652edfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -104,10 +104,10 @@ if ( ! function_exists( 'understrap_categorized_blog' ) ) {
set_transient( 'understrap_categories', $all_the_cool_cats ); set_transient( 'understrap_categories', $all_the_cool_cats );
} }
if ( $all_the_cool_cats > 1 ) { if ( $all_the_cool_cats > 1 ) {
// This blog has more than 1 category so components_categorized_blog should return true. // This blog has more than 1 category so understrap_categorized_blog should return true.
return true; return true;
} else { } else {
// This blog has only 1 category so components_categorized_blog should return false. // This blog has only 1 category so understrap_categorized_blog should return false.
return false; return false;
} }
} }