I use a multi-level category system for my companies using taxonomies. Two questions have arisen:
1. I can display a list of categories for a single company on a page using .list()
But then they are displayed en masse – all categories, both parent and child. In dynamic data, I can select either all category names or just the parent categories, for example like this: @post(services_cats.parent.label)
But it would be more useful for me to display only the child categories (not just the parent ones). How can I display only the child categories – the categories at the bottom level of nesting?
2. And the second question, which follows from the first, is that I need to display a comma-separated list of categories along with links to those same categories. The links should be based on the category names. It would be logical to use the category label, .link, and .list(), but that doesn’t work. I tried using the “Loop element,” but that just produces a list without commas. Is there an easy way to display a company’s child categories, separated by commas, along with links to the pages of those categories?
©2025 Created with 27collective LLC. All rights reserved