Skip Navigation

[Resolved] Display Links to Archive Pages of Child Taxonomies

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.

This topic contains 0 replies, has 1 voice.

Last updated by Robert 1 week, 1 day ago.

Author
Posts
#2792369

So I have created a custom Taxonomy called "Locations". I have the following taxonomies parent/child:

Arizona
-- Maricopa County
---- Phoenix
---- Glendale
---- Tempe

I have created an archive page template in the WordPress site editor and it displays each taxonomy as such:
hidden link.

This all works fine.

What I am trying to do is list child taxonomies at the bottom of the page IF child taxonomies exist. So in the case of "Maricopa County", it has 3 child taxonomies. I want to display links to each of these child archive pages dynamically which will result like this:

hidden link">Phoenix
hidden link">Glendale
hidden link">Tempe

I tried creating a view to display locations taxonomies but even without a filter, nothing displays. Thoughts?

#2792371

I figured this out pretty quickly. I created the view correctly but realized that I have nothing flagged with those terms. This was by design. So in the view, I needed to uncheck the "Don't show empty terms" checkbox. It works perfectly.