Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Set up two search forms the same way – one is not working

Viewing 10 posts - 1 through 10 (of 16 total)
  • Lisa Caras
    #183171

    I’ve set up two different search forms with the same parameters except for the post type to search and display URL and container. This page seems to work fine:

    https://newdemisto.wpengine.com/news/

    Search for “Gold” for a good example.

    On this page:

    https://newdemisto.wpengine.com/resources/

    if you search for anything (try “AWS” or “video”), you seem to get the full list of all posts in the site ordered by date. Any search gives the same results.

    Trevor Moderator
    #183182
    This reply has been marked as private.
    Lisa Caras
    #183226
    This reply has been marked as private.
    Trevor Moderator
    #183255

    I have changed the Ajax Container setting in the form setup. Does it now work correctly for you?

    Lisa Caras
    #183322
    This reply has been marked as private.
    Trevor Moderator
    #183357

    The issue will be with integrating to the Elementor content block. What is the difference in this regard between the two pages? Do they use different elements and/or settings?

    Lisa Caras
    #183384

    The only difference I can see is that the page that is not working has that sticky posts block physically between the search block and the posts block that we want to search. That is why I added an ID to the posts block that we want to search so we can target it for the results.

    Both pages are using the Elementor Post Extras widget.

    Trevor Moderator
    #183389

    Ah. OK.

    Try this then.

    The shortcode that ends in action="filter_next_query" add another parameter:

    action="filter_next_query" skip="1"

    Lisa Caras
    #183502

    This is the code I end up with. Maybe I didnt’ understand your instructions:

    [searchandfilter id=”3697″]
    [searchandfilter id=”3697″ action=”filter_next_query” skip=”1″]

    This code seems to add all the posts to the wrong posts extra widget — the one that is set up to show just the sticky posts. I still have the Display Ajax Container set to the ID for the second posts extra widget — the one I want to search. The second widget is still not showing search results.

    I can’t leave the page set this way, so I’ve moved it to staging:
    http://newdemisto.staging.wpengine.com/resources/

    same login info.

    You can see that it takes a really long time to load the page as all the posts are loaded into that first widget that is intended for the 6 sticky posts.

    Thanks for your help.

    Trevor Moderator
    #183513
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 16 total)

The forum ‘Search & Filter Pro’ is closed to new topics and replies.