Title: Exclude current post
Last modified: August 21, 2016

---

# Exclude current post

 *  Resolved [enric.segura](https://wordpress.org/support/users/enric-segura/)
 * (@enric-segura)
 * [13 years ago](https://wordpress.org/support/topic/exclude-current-post-2/)
 * When showing a list of related post associated to an specific category the plugin
   shows the same post the code is embed in. Ergo, the post the user is reading.
 * Ex: [display-posts category=”category_name” posts_per_page=”-1″ image_size=”thumbnail”
   include_excerpt=”true” wrapper=”div”]
 * Is it posible to exclude the current post from the list somehow? Maybe an argument
   line like exclude=current?
 * You can notice the problem here: [http://pracmatic.net/en/building-a-community/](http://pracmatic.net/en/building-a-community/)
 * Thanks very much
 * [http://wordpress.org/extend/plugins/display-posts-shortcode/](http://wordpress.org/extend/plugins/display-posts-shortcode/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [enric.segura](https://wordpress.org/support/users/enric-segura/)
 * (@enric-segura)
 * [13 years ago](https://wordpress.org/support/topic/exclude-current-post-2/#post-3832717)
 * The feature is added in github version. Beautiful!

Viewing 1 replies (of 1 total)

The topic ‘Exclude current post’ is closed to new replies.

 * ![](https://ps.w.org/display-posts-shortcode/assets/icon-256x256.jpg?rev=2940963)
 * [Display Posts - Easy lists, grids, navigation, and more](https://wordpress.org/plugins/display-posts-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/display-posts-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/display-posts-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-posts-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-posts-shortcode/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [enric.segura](https://wordpress.org/support/users/enric-segura/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/exclude-current-post-2/#post-3832717)
 * Status: resolved