Title: Post count for categories
Last modified: August 18, 2016

---

# Post count for categories

 *  [dubberdan](https://wordpress.org/support/users/dubberdan/)
 * (@dubberdan)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/post-count-for-categories/)
 * When I set my sidebar to display the categories in a structured list by calling`
   wp_list_cats()` in sidebar.php I don’t get the number of posts shown. If I don’t
   structure the list and call `list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 
   1, 1, 0,'','','','','')` then I do get the post count shown in brackets.
 * Is there a way to have a structured list and also the post count?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [dubberdan](https://wordpress.org/support/users/dubberdan/)
 * (@dubberdan)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/post-count-for-categories/#post-275296)
 * bump
 *  [estjohn](https://wordpress.org/support/users/estjohn/)
 * (@estjohn)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/post-count-for-categories/#post-275298)
 * If you would search some, that has been answered before..

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Post count for categories’ is closed to new replies.

## Tags

 * [count](https://wordpress.org/support/topic-tag/count/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [estjohn](https://wordpress.org/support/users/estjohn/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/post-count-for-categories/#post-275298)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
