wrapped count in a span
This commit is contained in:
parent
451302cd0b
commit
d5113ee82b
|
@ -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)) :
|
||||
|
||||
|
|
Loading…
Reference in New Issue