Don't show a cloud for hierarchical taxonomies.
git-svn-id: https://develop.svn.wordpress.org/trunk@15140 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
baa954e82e
commit
dd10abc8a4
@ -360,7 +360,7 @@ if ( current_user_can( $tax->cap->edit_terms ) )
|
||||
else
|
||||
$tag_cloud = wp_tag_cloud( array( 'taxonomy' => $taxonomy, 'echo' => false ) );
|
||||
|
||||
if ( $tag_cloud ) :
|
||||
if ( $tag_cloud && !is_taxonomy_hierarchical($taxonomy) ) :
|
||||
?>
|
||||
<div class="tagcloud">
|
||||
<h3><?php echo $tax->labels->popular_items; ?></h3>
|
||||
|
Loading…
Reference in New Issue
Block a user