Title: Exclude category syntax in widget.
Last modified: August 21, 2016

---

# Exclude category syntax in widget.

 *  Resolved [borizor](https://wordpress.org/support/users/borizor/)
 * (@borizor)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/exclude-category-syntax-in-widget/)
 * Hi there,
 * I have a issue that hopefully is caused by some small detail I’ve overlooked.
   I am using catlist on several pages with no problem, awesome plugin. However 
   the category id exclude field in the widget doesn’t seem to be working. The post
   id field exclude works fine. I have tried every combination of exclude statement,
   for example. “5” “-5” “id=5” “id=-5” “-category5”. All help appreciated. I am
   using it on the home page in the colophon widget section, listing 4 recent posts
   while excluding 1 category. The category dropdown is set to “current category”,
   I’m assuming that means list all? maybe wrong on that one. Anyways, thanks in
   advance.
 * //B
 * [http://wordpress.org/extend/plugins/list-category-posts/](http://wordpress.org/extend/plugins/list-category-posts/)

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

 *  Thread Starter [borizor](https://wordpress.org/support/users/borizor/)
 * (@borizor)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/exclude-category-syntax-in-widget/#post-3902390)
 * Nevermind, managed to get it working with another plugin.
 * //B
 *  [jeffbon](https://wordpress.org/support/users/jeffbon/)
 * (@jeffbon)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/exclude-category-syntax-in-widget/#post-3902526)
 * which plugin?

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

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

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

## Tags

 * [List post](https://wordpress.org/support/topic-tag/list-post/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 2 replies
 * 2 participants
 * Last reply from: [jeffbon](https://wordpress.org/support/users/jeffbon/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/exclude-category-syntax-in-widget/#post-3902526)
 * Status: resolved