Skip Navigation

[Resolved] Can I disable filters with no results rather then removing them from the list?

This thread is resolved. Here is a description of the problem and solution.

Problem:
The issue here is that the user wanted to hide his filters that won't produce a result on their view.

Solution:

Assuming here that you are using a Blocks setup for your view then you wont be able to do it from here as this setting isn't available for the Blocks view setup.

You can only have this option when you're creating the view using the classic editor.

If you're not using the classic editor you can enable it by going to Toolset -> Settings and scroll down to Editing Experience and enable the 3rd option.

Once you've done this you go to Toolset -> Views to create your classic views.

On your classic view you will scroll to the Custom Search Settings then select "Let me choose individual settings manually" then scroll down to "Show only available options for each input" and from there you can select Disable instead of Hide.

This support ticket is created 3 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by Maggs 3 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#2146891

Tell us what you are trying to do?
I have a custom front end search set up, and it's currently set up so if a filter is selected any subsequent filters that would turn no results are removed. I'd rather have them disabled and still visible if possible.

Is there any documentation that you are following?
No, I can't find anything. There's nothing wrong with my front end search, I built it with your guides.

Is there a similar example that we can see?
Not that I have.

What is the link to your site?
hidden link

#2146949

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Maggs,

Thank you for getting in touch.

Assuming here that you are using a Blocks setup for your view then you wont be able to do it from here as this setting isn't available for the Blocks view setup.

You can only have this option when you're creating the view using the classic editor.

If you're not using the classic editor you can enable it by going to Toolset -> Settings and scroll down to Editing Experience and enable the 3rd option.

Once you've done this you go to Toolset -> Views to create your classic views.

On your classic view you will scroll to the Custom Search Settings then select "Let me choose individual settings manually" then scroll down to "Show only available options for each input" and from there you can select Disable instead of Hide.

Please let me know if this helps.
Thanks,
Shane

#2146969

Luckily I'm in classic editor, this worked perfectly! Thank you!