Title: [Plugin: WP-PostViews] Include child categories ?
Last modified: August 20, 2016

---

# [Plugin: WP-PostViews] Include child categories ?

 *  [srgn03](https://wordpress.org/support/users/srgn03/)
 * (@srgn03)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-postviews-include-child-categories/)
 * I have lots of child categories with parents categories left empty (i mean not
   checked when i publish a post). I would like to use “get_most_viewed_category”
   to display most viewed post for a category including child categories but this
   seems impossibile to reach.
 * Is there some trick to show parent and child categories most viewed post with“
   get_most_viewed_category function”? Alternatively, is there a way to pass multiple
   categories ids to “get_most_viewed_category” function?

The topic ‘[Plugin: WP-PostViews] Include child categories ?’ is closed to new replies.

## Tags

 * [child categories](https://wordpress.org/support/topic-tag/child-categories/)
 * [postviews](https://wordpress.org/support/topic-tag/postviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [srgn03](https://wordpress.org/support/users/srgn03/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-postviews-include-child-categories/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
