Skip Navigation

[Résolu] Show only top taxonomy terms in view (no child terms)

This support ticket is created Il y a 3 années et 3 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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

Supporter timezone: Asia/Kolkata (GMT+05:30)

Ce sujet contient 6 réponses, a 2 voix.

Dernière mise à jour par Jim Il y a 3 années et 3 mois.

Assisté par: Minesh.

Auteur
Publications
#2139679

Jim

Is this possible?
I see no possibility to filter out the child terms, I only want to display the top level items.

Thanks!

#2139973

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As I understand - you have a view and you added the taxonomy filter as dropdown and with that taxonomy dropdown filter you only want to display only parent (top level) terms?

#2140107

Jim

Hi Minesh,
no I simply want to display all the top level taxonomies (with links to the specific category index page) but without the child taxonomies

#2140117

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Then you will require to create a taxonomy view in classic view mode and display the taxonomy title and taxonomy URL.

Are you using Toolset Blocks or Classic view plugin?

#2140141

Jim

I saw your reply in my mail but not here in this thread...

"Then you will require to create a taxonomy view in classic view mode and display the taxonomy title and taxonomy URL.
Are you using Toolset Blocks or Classic view plugin?"

How do I enter classic view mode?
I am using the classic view plugin.

#2140147

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

If you are using classic view plugin then you should navigate to:
- Toolset -> Views
- Add a new view and set it to query your desired taxonomy
- in the Query Filter section add the Taxonomy Parent query filter and set it to None
- Within the Loop editor confiture it with whatever output you would like to display.

#2140163

Jim

Thanks Minesh, that did the trick. I tried that filter but didn't know about the 'none' option.

My issue is resolved now. Thank you!