• Resolved bkuethen

    (@bkuethen)


    Hi, I don’t think this option currently exists, but if it does please let me know.

    It would be nice to have the first “page” of posts already loaded by default so when the user reaches the end of the page, they see some posts, and then the button would allow for more to load.

    I could do a wp_query, store the post ids in an array and then pass those into the short code using “exclude” so I’m not duplicating post entries, but that seems silly.

    Just a thought!

    Great job on the plugin! Thanks!

    https://www.ads-software.com/plugins/ajax-load-more/

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

    (@dcooney)

    Hi bkuethen,
    I’ve been working on this for for quite some time actually, it’s proving more difficult than I would have thought.

    I am hoping that my next release will have this feature added.

    cheers,

    Quick jQuery work around for this:

    jQuery(document).ready(function($) {
           if ( $('#load-more').length>0 ) {
                  $('#load-more').trigger('click');
           }
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Request: Load X number of posts/pages on page load?’ is closed to new replies.