Maintain Filtered Sidebar Widget on Results Page

Forums › Forums › Search & Filter Pro › Maintain Filtered Sidebar Widget on Results Page

Viewing 9 posts – 1 through 9 (of 9 total)
  • Anonymous
    #32358

    I know what the issue is, but couldn’t figure out how to entitle it in writing! Here goes:

    On the search page, we are using the sidebar widget that is set to display the SPECIFIC “categories” & “tags” (custom taxonomy “topics” & “ages”, in our case) for that search page (see: Discipline Search Page), which works just fine.

    AFTER making a selection, the results page returns a “standard” S&FP widget with ALL “categories” & “tags” (custom taxonomy “topics” & “ages”, in our case)(see: Discipline Results Page).

    Here’s a video screencast demonstrating the unwanted behavior.

    How can I limit the results page to maintain the specific “categories” & “tags” (custom taxonomy “topics” & “ages”, in our case) of the original search page?

    Ross Moderator
    #32452

    Hi Steven

    I’m afraid its a bit hard to follow or I’m missing something.

    It sounds like you are asking the following:

    When a user performs a search on this page:
    http://yourvillage.staging.wpengine.com/discipline/

    That the user selection is maintained across to the results page:
    http://yourvillage.staging.wpengine.com/?sfid=1568&_sft_topic=peaceful-parenting

    However, when I do this, it seems to work as expected.

    As I can’t see the URLs in that video its pretty confusing to follow :/

    Thanks

    Anonymous
    #32460
    This reply has been marked as private.
    Ross Moderator
    #32741
    This reply has been marked as private.
    Anonymous
    #32743
    This reply has been marked as private.
    Anonymous
    #32934
    This reply has been marked as private.
    Ross Moderator
    #33018
    This reply has been marked as private.
    Ross Moderator
    #33073

    Hi Steven

    Thanks for your patience. So finally I see the issue.

    On your disciplines page I see a search form in the sidebar, which only shows discipline related filters.

    http://yourvillage.staging.wpengine.com/discipline/

    If I take a look, this Search Form has and ID of 1568.

    However, once you submit this form, you are redirected to the correct results page, as we can see the ID remains in the URL:

    http://yourvillage.staging.wpengine.com/?sfid=1568&_sft_topic=discipline

    The issue here is, if you take a look at this second link, and the search form in the RIGHT bar, you will see it has an ID of 161.

    This means, your search results template for the search form ID 1568, is including the wrong search form in the sidebar.

    Which I think is why you get such a strange experience, its hard to see, but basically you are seeing some other form, that doesn’t have all those filter restrictions setup.

    Hope that helps!

    Ross Moderator
    #33074

    Just to let you know support won’t be open again now until Monday the 4th.

    Thanks

Viewing 9 posts – 1 through 9 (of 9 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.