'name', 'order' => 'ASC', 'hierarchical' => true, 'show_count' => true, ); $terms = get_terms( $taxonomy, $args ); $name = ( $name ) ? $name : $taxonomy; if ( $terms ) { printf( '', $name ); foreach ( $terms as $term ) { printf( '%s (%s)', $term->slug, $term->name, $term->count ); } print( '' ); } } ?>