Want to display search results as a filtered archive… but all results display

Forums › Forums › Search & Filter Pro › Want to display search results as a filtered archive… but all results display

Viewing 10 posts – 1 through 10 (of 12 total)
  • Anonymous
    #217283

    Hi—

    I’m not quite understanding how to set the search results. Instead of displaying a filtered set of results, the search shows ALL posts. What am I missing?

    Please see: https://watkinson.dream.press/directory/

    Many thanks,
    Jenny

    Trevor
    #217291

    I can see that you are using Elementor. Are the results in a Post grid or similar? If so, please see this post I wrote:

    https://support.searchandfilter.com/forums/topic/how-can-i-search-elemntor-column-while-retaining-the-design-of-that-column/#post-209754

    Especially note the order of the shortcodes used. The form must come before the filter_next_query action.

    Anonymous
    #217309

    Very helpful, thank you! It looks as if I’m almost there. I think the only last element I need to figure out is how to set the Ajax container in the search results settings. When I set it as “elementor-widget-posts” I get no results returned at all; I’m guessing this is because I’m not using the regular posts widget. Instead, I’m using an Anywhere Elementor shortcode to display a grid of post blocks of a custom post type. I’ve tried entering a couple of different things for the Ajax container, but none is right so far. Can you help me figure out what I ought to be calling? (Or, if I have misidentified the problem, can you help me figure out what else to do?)

    Trevor
    #217321

    It could be any of the classes in this screenshot:

    https://www.screencast.com/t/90rNRxGpw

    I would guess .ae-post-layout-grid

    Any script you have to refresh the results might also not work, so test without that script to start with.

    Anonymous
    #217327

    Aaargh! So close and yet I can’t make it work. Thanks for your screenshot; I tried all those classes, but to no avail. I don’t THINK I have any particular refresh script active — I haven’t installed one — but maybe there’s one built in somewhere?

    What would you suggest I try next?

    Thanks so much, Trevor!

    Trevor
    #217331
    This reply has been marked as private.
    Anonymous
    #217343
    This reply has been marked as private.
    Trevor
    #217425
    This reply has been marked as private.
    Anonymous
    #217428
    This reply has been marked as private.
    Trevor
    #217430
    This reply has been marked as private.
Viewing 10 posts – 1 through 10 (of 12 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.