Skip Navigation

[Resolved] Filter out taxonomy term in View

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

Problem:

The issue here is that the user wanted to disable a taxonomy term from a view filter.

Solution:

It is not possible to remove a single term from a filter unless that term has no post assigned to it.

The alternative is that you can use css to hide the term that you don't want to appear in the filter.

0% of people find this useful.

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.

Our next available supporter will start replying to tickets in about 6.15 hours from now. Thank you for your understanding.

This topic contains 8 replies, has 2 voices.

Last updated by thomasS-11 1 year, 8 months ago.

Assigned support staff: Shane.

Author
Posts
#1193157

I am trying to: Filter out a taxonomy term in a view that is showing taxonomy terms

#1193189

Shane
Supporter

Languages: English (English )

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

Hi Thomas,

Thank you for contacting our support forum.

You view is currently listing all the terms but you dont want a specific term to show up ?

Is that correct?

Please let me know.

Thanks,
Shane

#1193790

That is correct.

In query filter, there is no such option to select a term you DO NOT want to query.

#1193824

Shane
Supporter

Languages: English (English )

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

Hi Thomas,

You are correct. This is because its actually not possible to remove a single term from the filter unless that term is either empty or deleted from the taxonomy.

Thanks,
Shane

#1193838

Do you have any quick fix to this challenge?
I don't understand why such a simple thing is not part of the else advanced Views and Types plugins.
In post queries you can filter out posts, but in term queries you cannot filter out a term.

Can you please put this on a feature request? I see i am not the only one who thinks this is a lacking feature.

#1193842

Shane
Supporter

Languages: English (English )

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

Hi Thomas,

Is the term in a dropdown on the filter?

If so could you provide a link to the page. We might be able to hide that term with some css.

Thanks,
Shane

#1193854

No, the term is in a Bootstrap grid.
I can hide it with CSS myself. Thanks for the suggestion. I was just searching for a more .. professional solution.

Can you please suggest this feature to the devs?

#1193862

Shane
Supporter

Languages: English (English )

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

Hi Thomas,

You will need to open a feature request ticket for this so that it can get automatically assigned to the appropriate supporter.

Thanks,
Shane

#1194192

Ok i will do that.