• Resolved octobertwo

    (@octobertwo)


    Hi,

    We purchased the Previous Post add-on of the Ajax Load More plugin because we want an infinite scroll of our single posts. With this plugin, we are only able to auto load 1 single post at a time. Is there any way we can auto load 5 single posts at a time? We need to do this because we are designing a reading position bar at the bottom of the page that is dependent on the auto loaded posts.

    Thank you very much in advance!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi @octobertwo,
    with the Previous Post add-on you can only load a single post at a time… To load more you need to use the standard ajax load more plugin.

    Cheers,

    Thread Starter octobertwo

    (@octobertwo)

    Hi @dcooney,

    Thank you very much for your response!

    However, when we don’t use the Previous Post add-on, we get duplicate post issues and the URL doesn’t update automatically as we scroll down. I saw in another thread that you recommended the use of the Preloaded add-on for the duplicate post issue. Will this allow us to load 5 posts at a time and work well with the Previous Post add-on?

    Again, thank you very much in advance!

    • This reply was modified 7 years, 3 months ago by octobertwo.
    Plugin Author Darren Cooney

    (@dcooney)

    Hi @octobertwo,

    recommended the use of the Preloaded add-on for the duplicate post issue. Will this allow us to load 5 posts at a time and work well with the Previous Post add-on?

    Yes, but Preloaded is not used for single posts.

    I don’t think I understand what functionality you are looking for. Do you see an example on the website of what you require?
    https://connekthq.com/plugins/ajax-load-more/examples/

    Thread Starter octobertwo

    (@octobertwo)

    Hi @dcooney,

    Unfortunately, what we want to happen is not shown in any of the examples on your website.

    We would like to be able to load 5 single posts at a time. Also, we would like to have the functionality of URL updating / changing whenever we scroll down to a new single post.

    If you could point us to the direction on how to achieve this, we’d be very grateful.

    Thank you very much in advance!

    • This reply was modified 7 years, 3 months ago by octobertwo.
    Plugin Author Darren Cooney

    (@dcooney)

    Ok, thats what i thought.
    You cannot do this with any of the add-ons or the standard plugin.

    A single post at a time is only possible because Previous Post uses the WP core get_previous_post() function which returns a single post.

    Thread Starter octobertwo

    (@octobertwo)

    Hi @dcooney,

    I understand. Thank you very much for your response!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Load 5 posts at a time’ is closed to new replies.