Navigation überspringen

[Gelöst] Display Links to Archive Pages of Child Taxonomies

This support ticket is created vor 6 Monaten, 2 Wochen. There's a good chance that you are reading advice that it now obsolete.

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.

Dieses Thema enthält 0 Antworten, hat 1 Stimme.

Zuletzt aktualisiert von Robert vor 6 Monaten, 2 Wochen.

Author
Artikel
#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:
versteckter 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:

versteckter Link">Phoenix
versteckter Link">Glendale
versteckter 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.