Title: How do I exclude categories?
Last modified: February 22, 2018

---

# How do I exclude categories?

 *  Resolved [slimyslug](https://wordpress.org/support/users/slimyslug/)
 * (@slimyslug)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/how-do-i-exclude-categories/)
 * Using the ufaq shortcode, is there a way I can ask the page to display all FAQs
   of a certain category but exclude certain FAQs if they include a specific category.
 * I have:
 * apple (category = ‘fruit’,’apple’)
    orange (category = ‘fruit’,’orange’) pear(
   category = ‘fruit’,’pear’)
 * Like an exclude-category
 * e.g. [ultimate-faqs include_category=’fruit’ exclude-category=’apples’]
 * This would show oranges and pears, but not apples.
 * Does that make sense?

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

 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/how-do-i-exclude-categories/#post-10004059)
 * Hello slimyslug,
 * Unfortunately, there is no option to do so in the plugin. What you can do is 
   create few tags and put all the FAQ from the excluded categories that you want
   to show in those tags. Then you could simply display the tags using the shortcode:
 *     ```
       [ultimate-faqs tags='your-tag-slug']
       ```
   
 * Best regards,
 *  [achnein](https://wordpress.org/support/users/achnein/)
 * (@achnein)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/how-do-i-exclude-categories/#post-10113058)
 * small type in the answer example. It should be an underscore between exclude 
   and category. Correction:
 * e.g. [ultimate-faqs include_category=’fruit’ exclude_category=’apples’]

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

The topic ‘How do I exclude categories?’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-faqs/assets/icon-128x128.png?rev=1803957)
 * [Ultimate FAQ Accordion Plugin](https://wordpress.org/plugins/ultimate-faqs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-faqs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-faqs/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-faqs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-faqs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-faqs/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [achnein](https://wordpress.org/support/users/achnein/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/how-do-i-exclude-categories/#post-10113058)
 * Status: resolved