Title: Exclude current function doesn&#8217;t work correctly
Last modified: May 26, 2019

---

# Exclude current function doesn’t work correctly

 *  Resolved [VWI](https://wordpress.org/support/users/r3born/)
 * (@r3born)
 * [7 years ago](https://wordpress.org/support/topic/exclude-current-function-doesnt-work-correctly/)
 * Hi Tom,
    I have GP Premium and am using WP Show Posts on my website. There’s 
   one function of this plugin that unfortunately doesn’t work properly. There was
   already a support ticket regarding this: [https://wordpress.org/support/topic/exclude-current-doesnt-work-if-using-post-ids/](https://wordpress.org/support/topic/exclude-current-doesnt-work-if-using-post-ids/)
   But it doesn’t seem to have been fixed. Here’s how I would like to use it: I 
   have three pages with IDs 1, 2 and 3. At the bottom of each page, I would like
   to have a WP Show Posts list linking to the other two pages. This is why I created
   a list showing only IDs 1, 2 and 3, with “Exclude current” checked. But for some
   reason all three pages appear… Thanks in advance for your help!

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

 *  Plugin Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [7 years ago](https://wordpress.org/support/topic/exclude-current-function-doesnt-work-correctly/#post-11577848)
 * Hi there,
 * This should fix that: [https://github.com/tomusborne/wp-show-posts/commit/f6a0fd0f89dadb7e011a06db27e4f3e92442cb98](https://github.com/tomusborne/wp-show-posts/commit/f6a0fd0f89dadb7e011a06db27e4f3e92442cb98)
 * It will be in WPSP 1.2, but you can make the change to the file now if you’re
   comfortable doing so 🙂
 *  Thread Starter [VWI](https://wordpress.org/support/users/r3born/)
 * (@r3born)
 * [7 years ago](https://wordpress.org/support/topic/exclude-current-function-doesnt-work-correctly/#post-11601410)
 * Hi Tom,
    Thanks for the swift reply – it worked fine!

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

The topic ‘Exclude current function doesn’t work correctly’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [VWI](https://wordpress.org/support/users/r3born/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/exclude-current-function-doesnt-work-correctly/#post-11601410)
 * Status: resolved