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:
ryan 2010-06-04 19:14:27 +00:00
parent 78bc6f2877
commit b5ed0f428a
1 changed files with 1 additions and 1 deletions

View File

@ -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>