Title: Include or exclude posts by category
Last modified: March 10, 2025

---

# Include or exclude posts by category

 *  Resolved [sylowi](https://wordpress.org/support/users/sylowi/)
 * (@sylowi)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/include-or-exclude-posts-by-category/)
 * Hello! Is there a way to include or exclude certain categories of posts? I know
   I can include/exclude individual posts but I’d like to do so for many posts automatically
   by category. Thank you in advance.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finclude-or-exclude-posts-by-category%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [YMC](https://wordpress.org/support/users/wssoffice21/)
 * (@wssoffice21)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/include-or-exclude-posts-by-category/#post-18353109)
 * Inside the plugin settings you can add or exclude post categories. It doesn’t
   work automatically.
 *  Thread Starter [sylowi](https://wordpress.org/support/users/sylowi/)
 * (@sylowi)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/include-or-exclude-posts-by-category/#post-18353147)
 * Forgive me, but I can see where to exclude by post type but not by category. 
   Can you please advise as to where I can find this setting?
 *  Plugin Author [YMC](https://wordpress.org/support/users/wssoffice21/)
 * (@wssoffice21)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/include-or-exclude-posts-by-category/#post-18353237)
 * You manually add or exclude categories (taxonomies) of posts in your grid. This
   is how the plugin works.
 * [https://prnt.sc/OvDlRs6EgFhH](https://prnt.sc/OvDlRs6EgFhH)
 *  Thread Starter [sylowi](https://wordpress.org/support/users/sylowi/)
 * (@sylowi)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/include-or-exclude-posts-by-category/#post-18353651)
 * Yes of course – so sorry for not being clear. The issue I have is when I only
   want one category of post (say, Category A) to be available for display, I add
   the category taxonomy and select the one that I want. However, on the front end
   if I user selects Category A from the drop down and then selects “All,” they 
   are then presented with posts from all categories (Category A, B, and C).
 * Is there a way to adjust this so posts from categories B and C are never shown
   to the user, even when they select “All”?
 *  Plugin Author [YMC](https://wordpress.org/support/users/wssoffice21/)
 * (@wssoffice21)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/include-or-exclude-posts-by-category/#post-18354215)
 * Hello. This goes beyond standard plug-in capabilities. To solve your problem,
   our team could develop a custom solution for you for a fee.

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

The topic ‘Include or exclude posts by category’ is closed to new replies.

 * ![](https://ps.w.org/ymc-smart-filter/assets/icon-128x128.png?rev=3354891)
 * [YMC Filter](https://wordpress.org/plugins/ymc-smart-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ymc-smart-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ymc-smart-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/ymc-smart-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ymc-smart-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ymc-smart-filter/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [YMC](https://wordpress.org/support/users/wssoffice21/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/include-or-exclude-posts-by-category/#post-18354215)
 * Status: resolved