We have an archive page set up for a custom content type called Freelancers. That page is here.
hidden link
The filters set up in the left column are not working. No matter what filter I select, it leads to a results page that says No Results Found. I do not know what I've done wrong with the setup here.
The archive template was set up in your legacy editor here:
hidden link
I have figured out part of the problem. We have four different filters present. Two of them are taxonomies and two of them are fields. One of the field filters is Filter by State. We have all 50 US States listed as options. What I'm seeing is that the first option Alabama is being assigned to the field even if no option is selected and the end user doesn't intend to use the Filter by State feature. Say they choose to use one of the other filters, the page they are taken to with the results is applying the filter they selected AND a filter for the state to be Alabama.
When I saw this happening, I added another option for the State field. It says "Select State" with a value of "None". However when I try to use another filter and not choose a state, it then is filtering out all freelancers whose state is not "None". So the way this is working is it seems to force the user to choose something in each filter.
In the URL for the results after submitting a filter, I am seeing that the Filter by Last Name filter is getting applied as well, even if the end user doesn't enter a Last Name to filter by. But the default for that appears to not impact the results. So it's only the dropdown selection filter that is impacting the results.
So my question is how do I get the filter system to ignore the State filter if an end user doesn't select a state? I need the default be to not apply that filter unless someone selects a state.
I figured it out. I just left the value for the Select State option empty instead of using "None" and now it is not applying anything by default.
My issue is resolved now. Thank you!