Forums Forums Search & Filter Pro Infinite scroll issue

Viewing 10 posts - 1 through 10 (of 31 total)
  • Anonymous
    #271973

    Hi have installed search and filter pro plugin on a site and using the short-code setting for the filter section and would like to use infinite scroll.

    I have updated to infinite scroll in the CMS and also used the correct infinite scroll template provided to build the content loop.

    When scrolling to the bottom of the page the infinite scroll does not fire at all.

    I am not seeing any console log errors, tried to remove all plugins to rule out conflicts with others and still no luck.

    I have checked the JS and it shows that max_paged is set to false and is changed to true but this does not fire with console logs added to the js to debug.

    Any help with getting this working would be great.

    Kind regards

    Trevor
    #272007
    This reply has been marked as private.
    Anonymous
    #272018
    This reply has been marked as private.
    Trevor
    #272020
    This reply has been marked as private.
    Anonymous
    #272022
    This reply has been marked as private.
    Trevor
    #272027

    Great. I got those, and that prompts a first question.

    In the Search & Filter plugin folder, in the subfolder named templates, are two files. Normal pagination template is results.php, and there is another for infinite scroll, with a similar but different structure.

    Which one did you use?

    Whichever one you used, you need to first follow our guide when doing that:

    https://searchandfilter.com/documentation/search-results/using-a-shortcode/#customising-the-results

    The file must be renamed to either results.php or {the number of the form ID}.php

    What you should have done (and maybe did not) is to copy the results-infinite-scroll.php template file to your child theme search-filter folder, and then rename that copied file to results.php

    Anonymous
    #272029

    Hi trevor

    I have used the shortcode and created the relevant sub folder in the theme for search-filter and used the results.php template initially when creating the loop. When I wanted to activate infinite scroll I copied the infinite scroll template php file and used this instead.

    I can send a copy of the template i have created if required?

    Kind regards

    Anonymous
    #272032

    Also the file is titled results.php within the subfolder

    Trevor
    #272034
    This reply has been marked as private.
    Anonymous
    #272036
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 31 total)