How to get term list in a term page? #5868
-
Hi, Taxonomy USED HARDWARE (blueprint used_hardware) with terms:
Taxonomy NEW HARDWARE (blueprint new_hardware) with terms:
I am able to display all the USED HARDWARE term tree while I'm in index.antlers.html of the taxonomy (for example I'm in USED HARDWARE page) just by using {{ terms }} , but I'm not sure how to display all the USED HARDWARE term tree while I'm in actual Term page show.antlers.html (for example USED HARDWARE >> CPU). How can I display all the terms from the same Taxonomy while I'm in a term page? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You only get the automatic For all the other times, you can use the taxonomy tag. https://statamic.dev/tags/taxonomy {{ taxonomy:used_hardware }}
<a href="{{ url }}">{{ title }}</a>
{{ /taxonomy:used_hardware }} |
Beta Was this translation helpful? Give feedback.
You only get the automatic
terms
variable when you're on that taxonomy's page.For all the other times, you can use the taxonomy tag. https://statamic.dev/tags/taxonomy