woocommerce_subcategory_count_html Closes #1871.
This commit is contained in:
parent
20861b5809
commit
0dd88985d7
|
@ -45,10 +45,12 @@ $woocommerce_loop['loop']++;
|
|||
?>
|
||||
|
||||
<h3>
|
||||
<?php echo $category->name; ?>
|
||||
<?php if ( $category->count > 0 ) : ?>
|
||||
<mark class="count">(<?php echo $category->count; ?>)</mark>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
echo $category->name;
|
||||
|
||||
if ( $category->count > 0 )
|
||||
echo apply_filters( 'woocommerce_subcategory_count_html', ' <mark class="count">(' . $category->count . ')</mark>', $category );
|
||||
?>
|
||||
</h3>
|
||||
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue