wrapped count in a span

This commit is contained in:
James Koster 2012-01-28 17:50:36 +00:00
parent 451302cd0b
commit d5113ee82b
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class WooCommerce_Widget_Product_Categories extends WP_Widget {
echo '"><a href="'.get_term_link( $cat->slug, 'product_cat' ).'">'.$cat->name.'</a>';
if ($c) echo ' ('.$cat->count.')';
if ($c) echo ' <span class="count">('.$cat->count.')</span>';
if (is_tax('product_cat', $cat->slug) || ($current_cat_parent && $current_cat_parent->term_id==$cat->term_id)) :