Forums Forums Search & Filter Pro Can’t search on the search results page

Viewing 10 posts - 1 through 10 (of 23 total)
  • Anonymous
    #237061

    It sounds like we have exactly the same problem as this thread:

    https://support.searchandfilter.com/forums/topic/cant-search-on-the-search-results-page/

    This is the home page: https://sciencejournalforkids.org/
    If you search for “Elementary school”: https://sciencejournalforkids.org/?sfid=3562&_sft_reading_level=elementary-school
    You get 4 results (that’s the correct behavior).

    But then if you want to further narrow the results down by selecting Biology, the results don’t change!

    Finally, if you take the narrowed down URL and paste it in a new browser: https://sciencejournalforkids.org/?sfid=3562&_sft_reading_level=elementary-school&_sft_category=biology it generates the correct result: 1 article.

    Thanks in advance!

    Trevor
    #237081

    I split your message from the other thread so I can address your question directly. You need to create a specific results page and follow this guidance carefully (you must use the Posts module as directed):

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

    You might also benefit from some custom CSS that I can give you after we get it working, to improve the margins and paddings that your theme seems to be adding.

    Anonymous
    #237309

    Hi. Yes, that would probably solve the problem.

    I’ve had this notice in the Edit Search Form: “Notice: You have not specified a custom template file for your results – this may lead to unexpected behaviour when displaying your results.”

    I tried to follow the instructions at https://searchandfilter.com/documentation/3rd-party/elementor/ but I am lost.

    For example:

    Basic Setup
    Add the Posts Grid to your page
    –> Do I need to create a regular page, or an Elementor template. If the latter, what type? Page or Archive or something else? Then which widget should I add? There isn’t a widget called “Post Grid”. There is “Posts” and “Archive Posts”.

    Before the Posts Widget, tell S&F that it needs to filter the grid by adding a Text Area (don’t use a HTML element, shortcodes won’t work properly) and adding our filter_next_query shortcode:
    [searchandfilter id=”123456″ action=”filter_next_query”]
    –> What do you mean “BEFORE the posts widget”? Also where do I need to add the text area?

    Sorry, these instructions might be clear to someone with more coding experience. But I need something more basic.

    Thanks.

    Trevor
    #237311
    This reply has been marked as private.
    Anonymous
    #237314
    This reply has been marked as private.
    Trevor
    #237322
    This reply has been marked as private.
    Anonymous
    #237355
    This reply has been marked as private.
    Ross Moderator
    #237393
    This reply has been marked as private.
    Anonymous
    #237484
    This reply has been marked as private.
    Ross Moderator
    #237499

    Hi Tanya

    If the homepage is an archive (the blog archive) then in Search & Filter, you can set the display method to post type archive.

    I’ve just done this for you and it worked a bit better, but not completely.

    I did not realise, but on the home page archive, the Ajax Container should be .elementor-posts, I’ve changed this, and now all seems to work correctly?

    Thanks

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