Don't show a cloud for hierarchical taxonomies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
78bc6f2877
commit
b5ed0f428a
|
@ -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