Forums › Forums › Search & Filter Pro › Adding Ajax load more to custom template
Tagged: ajax, custom template, infinite scroll, pagination, V3
- This topic has 4 replies, 2 voices, and was last updated 6 years, 4 months ago by Anonymous.
-
Anonymous(Private) July 24, 2018 at 4:14 pm #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(Private) July 24, 2018 at 4:47 pm #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(Private) July 24, 2018 at 11:58 pm #183376I 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!
-
AuthorPosts