0

I have a taxonomy terms display that list a taxonomy_list, this taxonomy_list has parents and childs:

Parent
 child
Parent
 child
 child

Is there a contextual filter in views that i can use to pass the parent id and it would return the childs under this parent.

2

You can use "Taxonomy term: Parent term" as contextual filter in your view.

Most likely you will need to provide a default value for the filter, such as "Taxonomy term ID from URL".

Provide a default value for your filter according to your preferred usage. The options for setting the default value of the filter should be self-explanatory.

Since you didn't specify where this view is supposed to be displayed, I can't give any other insight.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.