Title: exclude doubleposts
Last modified: August 16, 2018

---

# exclude doubleposts

 *  Resolved [monika21](https://wordpress.org/support/users/monika21/)
 * (@monika21)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/exclude-doubleposts/)
 * I have this issue: I want fo use List category posts on the frontpage, but I 
   have also a featured section and I don’t want to have the same post two times
   on the frontpage. is this possible?
 * I have the same problem when I use two “List category posts” shortcodes…

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [zymeth25](https://wordpress.org/support/users/zymeth25/)
 * (@zymeth25)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/exclude-doubleposts/#post-10595818)
 * You can use the `exludeposts` shortcode parameter as described in the documentation,
   but this only allows to either specify IDs to exclude or `this` for current post.
   The LCP plugin executes every instance of the shortcode/widget independently,
   i.e. if you use two shortcodes, they do not know anything about each other’s 
   existence or content. It is therefore impossible, in the current implementation,
   to set one shortcode to automatically exclude a post that is listed by another
   shortcode.
 * One solution I can think of is to write and include in your theme a bit of JavaScript
   that will compare the two LCP lists and remove duplicates.

Viewing 1 replies (of 1 total)

The topic ‘exclude doubleposts’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [zymeth25](https://wordpress.org/support/users/zymeth25/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/exclude-doubleposts/#post-10595818)
 * Status: resolved