Forums Forums Search & Filter Pro Adding Ajax load more to custom template

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #183328

    Hello I just need to be pointed in the right direction for where to add “load more post” functionality. My custom template is working perfectly. I just need to bring in the functionality to load more posts. I’m currently using a custom template pointing to a custom search results page (not shortcode method).

    I can share my template if it makes it easier to debug from there. I’ve already attempted going to the search templates within the plugin and grabbing those sections specific to paging and I just get the white screen of death. Something is not jiving right and I was just hoping that I could get a small snippet to make this part work properly.

    For more context my results are already loading in using an AJAX container and that’s working great along with filtering!

    Trevor
    #183331

    ‘Load more’ is not supported by the current version of the plugin. It is on our ‘to do’ list for the forthcoming V3, but I do not have a timescale for the release of that.

    It would not be an easy task (and not covered or recommended by our support) to modify our core files to add this. I know that others have tried the third party plugin Ajax Load More, but that does not work either.

    We do support Infinite Scroll for now.

    Anonymous
    #183363

    Ah gotcha! Infinite scroll would be OK for now. Any tips on how to implement that in my custom template?

    Even paging would be fine at this stage in the game as long as it worked properly. Thank you for the speedy reply

    Trevor
    #183365

    If you look in the plugin folder, there is a templates folder. In that there is an example template.

    Anonymous
    #183376

    I got it! I completely missed the Plugin options in the CMS for pagination and loading more posts. After I turned on infinite scroll and added my CSS selector for my articles it worked flawlessly. This is exactly what I needed. Thanks again for your help! I hope this thread can help someone else too!

Viewing 5 posts - 1 through 5 (of 5 total)