Forums Forums Search & Filter Pro Filters and Infinite scroll

Viewing 8 posts - 21 through 28 (of 28 total)
  • Trevor
    #184465
    This reply has been marked as private.
    Anonymous
    #184534
    This reply has been marked as private.
    Anonymous
    #184536
    This reply has been marked as private.
    Trevor
    #184590

    I am sorry I didn’t get back to you earlier, but I have been away over the weekend and I am catching up. We need to identify if this is our plugin causing this.

    Are you able to set up a test page and copy of the filter, but using the shortcode method, as detailed here:

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

    Anonymous
    #184806

    I have set the new page following your instructions and filters work fine (I haven’t found issues). So I think the point is with the ajax container, used in the js script. For some reason, it repaints results sometimes, while it doesn’t other times. Should I use any specific class or id attribute in the results page html? I have search filters in a sidebar container while results appear in another container. Is that correct?

    Thank you!

    Best

    Anonymous
    #184808
    This reply has been marked as private.
    Trevor
    #184839

    On the activitats-2 filter you have the shortcode method selected. using our infinite scroll template, you need not make container selections, and in any event there is no Ajax Container to set. If you have placed your own code in this template file, you may need to specify the Infinite Scroll containers. It is important that the pagination block is not inside the Infinite Scroll Container.

    The other example you gave uses the Custom method. Here you will almost certainly need to specify the:

    Ajax Container
    Infinite Scroll Container
    Result/Post Selector/Container

    The Ajax Container cannot be the same as the Infinite Scroll Container.

    Anonymous
    #184925

    Thank you for all your tips. Happily, now it seems to be working. The point was the ajax container. I was using one which could not paint the no results container when no results were found. I tried with a parent container and now it works well. It has been more difficult to get it done than expected but I’m happy to have got it.

    Thank you for your help Trevor.

    Best regards

Viewing 8 posts - 21 through 28 (of 28 total)