I have a custom taxonomy setup called "Location" that I am using to organize content by state, county, and city.
I am trying to customize the template used for the taxonomy so that the child location pages are linked from the location page you're on, if there are child options available.
For example, on the "Ohio" location archive I want to include a table of all the counties in Ohio. Then on a county page, I'd like to show all of the cities under that county. Then on city pages that portion of the template wouldn't be visible.
How can I achieve this? I see there are content templates for taxonomies but when I create a content template for the location taxonomy, the taxonomy still uses the default archive template (just a list of all the posts). I tried creating a "view" and selected:
content selection: taxonomy --> location
query filter: taxonomy parent --> select taxonomy terms whose parent is the current taxonomy archive
This replaced the archive template but the content output is blank (even though I have several locations setup).
Here is an example that should be showing one county: hidden link
Hello. Thank you for contacting the Toolset support.
I hope you already created the required post-relationship as I explained with my previous ticket.
Basically, if you want to display the related child posts, you need to create a view and add a query filter to filter by post relationship to display your related child posts.