Taxonomies: display hierarchical parent list

I’ve been using WP for years, but this is my first time with taxonomies, so I need a little bit of help.

Like in the question How to show a hierarchical terms list? I have a taxonomy called places, which contains a hierarchical list of places (first level for countries, second level for cities, etc…).

Read More

A post can have an associated place: for example, we could take Berlin (child of Germany, child of Europe).

Now, the output I want is something like this:

Where: Berlin, Germany, Europe.

I’ve tried some solutions, but none works. I’m pretty sure that there must be a simple and clean solution…

Related posts

Leave a Reply

1 comment