Skip Navigation

[Resolved] Taxonomy filter in views

This support ticket is created 3 years, 10 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 6 replies, has 2 voices.

Last updated by Shane 3 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#1930105
222.png

I've setup filter for a view by name (searchbar) and taxonom(3 select boxes), when one of the taxonomies is selected the filter works good but on the results the 3 select boxes for the taxonomies disappear and the search bar remains in place.

The view is live on this link: hidden link
I have seen that it i remove '&wpv_view_count=2933' from the url the issue is solved

Can you help me to get this working again?

Thank you!

#1930365

Shane
Supporter

Languages: English (English )

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

Hi Matthieu,

Thank you for getting in touch.

Would you mind allowing me to have admin access to the site so that I can have a more detailed look at this for you ?

I've enabled the private fields for your next response.

Thanks,
Shane

#1931801

Shane
Supporter

Languages: English (English )

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

Hi Matthieu,

Thank you for the credentials,

The taxonomy filters should now be working. The issue was that you had added a set of static filters for these dynamic frontend filters.

The solution to this one was to delete the filters and re-add them. Can you check on your end to see if everything is ok now ?

Thanks,
Shane

#1931953

Hello

the issue is stil persistent on my side, i turned of caching etc and still getting the error on mobile and desktop
did you test on your side and it worked? maybe give it some time here?

Thanks
Matthieu

#1932161

Shane
Supporter

Languages: English (English )

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

Hi Matthieu,

The problem now was that your filters were set to dissappear when the view won't produce a result.

I've set this to now show all the values so the filters shouldn't disappear when there is no result.

Thanks,
Shane

#1932165

Great everything works perfect now! just to avoid future mistakes, can you show me the setting or snippet of code you added or removed that was causing this?

Thank you!

#1932187

Shane
Supporter

Languages: English (English )

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

Screenshot 2021-02-03 at 1.25.08 PM.png

Hi Matthieu,

No code snippet was added to the site. As mentioned what was done was to Edit the view and scroll to the Query Filters section and removed all the filters related to the taxonomies.

Then I went to the Custom search settings and set it like the screenshot.

Finally I went to the Filter output section and clicked on New Filter and re-added your taxonomy filters.

Thanks,
Shane