commit
cf100502d7
|
@ -102,10 +102,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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue