Title: exclude current and Newer Posts
Last modified: December 26, 2018

---

# exclude current and Newer Posts

 *  Resolved [agent911](https://wordpress.org/support/users/agent911/)
 * (@agent911)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/exclude-current-and-newer-posts/)
 * While viewing single post, I want to exclude current and newer posts in the result.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexclude-current-and-newer-posts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/exclude-current-and-newer-posts/#post-11034418)
 * Hi [@agent911](https://wordpress.org/support/users/agent911/).
    The bottom snippet
   here is an example of how to exclude the current post. [https://connekthq.com/plugins/ajax-load-more/docs/code-samples/exclude-posts/](https://connekthq.com/plugins/ajax-load-more/docs/code-samples/exclude-posts/)
 * Hope that helps.

Viewing 1 replies (of 1 total)

The topic ‘exclude current and Newer Posts’ is closed to new replies.

 * ![](https://ps.w.org/ajax-load-more/assets/icon-256x256.png?rev=2944639)
 * [Ajax Load More – Infinite Scroll, Load More, & Lazy Load](https://wordpress.org/plugins/ajax-load-more/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-load-more/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-load-more/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-load-more/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-load-more/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-load-more/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/exclude-current-and-newer-posts/#post-11034418)
 * Status: resolved