Title: loading the next posts starting from current post
Last modified: October 18, 2017

---

# loading the next posts starting from current post

 *  Resolved [gatta2](https://wordpress.org/support/users/gatta2/)
 * (@gatta2)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/loading-the-next-posts-starting-from-current-post/)
 * I put the shortcode in the single template and notice that the next post which
   is loaded from ajax always starts from the the most recent posts of the whole
   site. Is it possible that the next post is the next post starting from the current
   post and so on?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/loading-the-next-posts-starting-from-current-post/#post-9597983)
 * Hi [@gatta2](https://wordpress.org/support/users/gatta2/),
    You would need to
   write your own query for this and pass an array of post ids to Ajax Load More.
 * Alternatively, you could use the Previous Post addon which provides this additional
   functionality for single posts.
    [https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/](https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/)
 * Hope that helps.

Viewing 1 replies (of 1 total)

 The topic ‘loading the next posts starting from current post’ 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: [8 years, 11 months ago](https://wordpress.org/support/topic/loading-the-next-posts-starting-from-current-post/#post-9597983)
 * Status: resolved