Title: Exclude category
Last modified: August 30, 2016

---

# Exclude category

 *  Resolved [mepmepmep](https://wordpress.org/support/users/mepmepmep/)
 * (@mepmepmep)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/exclude-category-31/)
 * Hello,
    Would it be possible to implement an option to exclude a category from
   showing up in the plugin?
 * [https://wordpress.org/plugins/recently-updated-posts-widget/](https://wordpress.org/plugins/recently-updated-posts-widget/)

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

 *  Plugin Author [luciole135](https://wordpress.org/support/users/luciole135/)
 * (@luciole135)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/exclude-category-31/#post-6589975)
 * Hi,
    At present, the widget works with a SQL query without using the WP_query
   function. If the widget used WP_query, he could not exclude post_type with much
   simplicity and performance.
 * But for categories, the problem is reversed. The WordPress WP_query function 
   is more suitable although less efficient.
 * Thus, it is difficult to make a SQL query that excludes categories because these
   are defined on the joints of 3 data tables:
    – wp_term_relationships – wp_term_taxonomy–
   wp_posts
 * I will study the problem, but it will be very long.
 *  Thread Starter [mepmepmep](https://wordpress.org/support/users/mepmepmep/)
 * (@mepmepmep)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/exclude-category-31/#post-6590104)
 * Yes, ok. I understand!
 *  Plugin Author [luciole135](https://wordpress.org/support/users/luciole135/)
 * (@luciole135)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/exclude-category-31/#post-6590274)
 * Hi,
    The new version 1.7 allow to select the categories and the latest articles
   published to be displayed or to be excluded.
 *  Thread Starter [mepmepmep](https://wordpress.org/support/users/mepmepmep/)
 * (@mepmepmep)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/exclude-category-31/#post-6590275)
 * Great, thanks a lot. This is useful for me because I have a category on my site
   that I dont want to display on the front page. Thanks again. 🙂

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

The topic ‘Exclude category’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recently-updated-posts-widget.svg)
 * [Recently updated posts widget](https://wordpress.org/plugins/recently-updated-posts-widget/)
 * [Support Threads](https://wordpress.org/support/plugin/recently-updated-posts-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/recently-updated-posts-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recently-updated-posts-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recently-updated-posts-widget/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [mepmepmep](https://wordpress.org/support/users/mepmepmep/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/exclude-category-31/#post-6590275)
 * Status: resolved