Skip to content

Commit

Permalink
Term grid: Use parentheses around post count
Browse files Browse the repository at this point in the history
Fixes #199
  • Loading branch information
ryelle committed Sep 29, 2023
1 parent 884e9ac commit 0886abd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<a href="<?php echo esc_url( get_term_link( $_term ) ); ?>">
<?php echo esc_html( $_term->name ); ?>
<?php if ( ! empty( $attributes['showPostCounts'] ) ) : ?>
<span>[<?php echo esc_html( $_term->category_count ); ?>]</span>
<span>(<?php echo esc_html( $_term->category_count ); ?>)</span>
<?php endif; ?>
</a>
</li>
Expand Down

0 comments on commit 0886abd

Please sign in to comment.