Title: [Plugin: Featured Category Posts Widget] Exclude current post
Last modified: August 20, 2016

---

# [Plugin: Featured Category Posts Widget] Exclude current post

 *  [jamesryanbell](https://wordpress.org/support/users/jamesryanbell/)
 * (@jamesryanbell)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-featured-category-posts-widget-exclude-current-post/)
 * Is it possible to exclude the current post from the list or could this be added
   as a feature with an option in the admin area to choose.
 * Thanks
 * [http://wordpress.org/extend/plugins/featured-category-posts/](http://wordpress.org/extend/plugins/featured-category-posts/)

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

 *  Thread Starter [jamesryanbell](https://wordpress.org/support/users/jamesryanbell/)
 * (@jamesryanbell)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-featured-category-posts-widget-exclude-current-post/#post-2770381)
 * Also it would be nice to hide widget altogether if there are no posts within 
   the selected category/categories.
 * Thanks
 *  Thread Starter [jamesryanbell](https://wordpress.org/support/users/jamesryanbell/)
 * (@jamesryanbell)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-featured-category-posts-widget-exclude-current-post/#post-2770409)
 * Sorry to be a pain 😉 I’ve edited the plugin to solve both of the above issues,
   can I send you a copy?
 * Thanks
 *  [madragonn](https://wordpress.org/support/users/madragonn/)
 * (@madragonn)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-featured-category-posts-widget-exclude-current-post/#post-2770779)
 * [@james](https://wordpress.org/support/users/james/) is there any chance you 
   could send me the code / edited plugin with the exclude current post feature?
 * Thanks, Tomm
 *  [WhiskeyBravo](https://wordpress.org/support/users/whiskeybravo/)
 * (@whiskeybravo)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-featured-category-posts-widget-exclude-current-post/#post-2770789)
 * Looking to add this post offset as well. Any advice appreciated.
 *  Thread Starter [jamesryanbell](https://wordpress.org/support/users/jamesryanbell/)
 * (@jamesryanbell)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-featured-category-posts-widget-exclude-current-post/#post-2770835)
 * Hi everyone
 * Sorry this has taken so long to update this thread.
 * I originally made the changes to the plugin last year and have since lost the
   original files I changed.
 * As such I have redone the changes and you can find the changes at [https://github.com/jamesryanbell/featured-category-posts/](https://github.com/jamesryanbell/featured-category-posts/)
 * I have also made another change to the plugin so there is now an option to exclude
   all posts from the categories of the current post.
 * Thanks

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

The topic ‘[Plugin: Featured Category Posts Widget] Exclude current post’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/featured-category-posts.svg)
 * [Featured Category Posts Widget](https://wordpress.org/plugins/featured-category-posts/)
 * [Support Threads](https://wordpress.org/support/plugin/featured-category-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-category-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-category-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-category-posts/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [jamesryanbell](https://wordpress.org/support/users/jamesryanbell/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-featured-category-posts-widget-exclude-current-post/#post-2770835)
 * Status: not resolved