Forums Forums Search & Filter Pro Ajax results not loading in Elementor Grid

Tagged: 

Viewing 10 posts - 1 through 10 (of 35 total)
  • Anonymous
    #194757

    Hello, I’m using the Elementor post grid and have managed to integrate with the search form as per your instructions.

    I’m currently using this as the test page: https://jstern.dev9.site/news-insights-2/

    I can see that search and filter is working when ajax is disabled. However, when I enable ajax, the results fail to update (using category filter). I’m using OR for Field relationships.

    Also I couldn’t find the setting for ajax container to input the Elementor selector .elementor-widget-posts. Not sure if this is it?: https://prnt.sc/lnuffr

    Still on the same form, I would like to filter posts by year only. How can I make that work? Please see screenshots of PSD mockup.

    https://prnt.sc/lnuele
    https://prnt.sc/lnufc2

    Thanks!

    Trevor
    #194800
    This reply has been marked as private.
    Anonymous
    #195115
    This reply has been marked as private.
    Trevor
    #195147

    I think this thread might help (I think you use your child theme functions.php file – it MUST be a child theme, unless you wrote the theme yourself).

    Anonymous
    #195150

    Hi Trevor, you must have forgotten to link to the thread you intended to link to. Thanks!

    Anonymous
    #195269
    This reply has been marked as private.
    Trevor
    #195317
    This reply has been marked as private.
    Anonymous
    #195380
    This reply has been marked as private.
    Trevor
    #195388

    In the plugin folder, in a templates sub-folder, are two exemplar files, and our plugin uses the one named results.php by default. This documentation tells you to place one of these two files in a search-filter sub-folder of your child theme. Obviously, if you are using infinite scroll, copy that one, otherwise copy the other.

    Then, with that file in the new search-filter sub-folder, rename the file to results.php if needed. It must always be named that, or named the same ID as each for the forms (allows more than one template to be used).

    The documentation for this is here:

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

Viewing 10 posts - 1 through 10 (of 35 total)