Title: exclude categories issue
Last modified: August 22, 2016

---

# exclude categories issue

 *  Resolved [ericamho](https://wordpress.org/support/users/ericamho/)
 * (@ericamho)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/exclude-categories-issue/)
 * So I’ve tried skimming the forums for a specific answer for this. But if category
   B is a category A (and I want to show category B only) and post #5 is both A &
   B, I’ve found that if I’ve excluded all the categories except B post #5 will 
   also be excluded because it is part of category A.
 * Is there a way to include category B ONLY? So far the only workaround I’ve found
   is to recategorize each post in cat B so it’s no longer in cat A.
 * Thanks!
 * [https://wordpress.org/plugins/wordpress-popular-posts/](https://wordpress.org/plugins/wordpress-popular-posts/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/exclude-categories-issue/#post-5444403)
 * Hi there!
 * Unfortunately, that can’t be helped and it’s a limitation of the category filter.
   Since the post also belongs to an allowed category (‘A’ in your example) there’s
   no way to exclude it.

Viewing 1 replies (of 1 total)

The topic ‘exclude categories issue’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/exclude-categories-issue/#post-5444403)
 * Status: resolved