How to get the category/taxonomy base url
-
I have this custom taxonomy I created called “shows”, for a couple of TV shows this channel has. When you’re in the single I want to show a breadcrumb list from where you are, like this:
<ul> <li>Shows</li> <li>The Simpsons</li> </ul>
So I get Shows/The Simpsons.
Now, I don’t want to do it with a plugin, I have many things going on with the list that I can’t use a plugin for this things.
How can I achieve this?
Doing:
$taxonomies = wp_get_post_terms($post->ID,'shows');
Will only return me taxonomies IN the custom taxonomy, wicho is good, but I want the father listed as well, So the people go to the master taxonomy.Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to get the category/taxonomy base url’ is closed to new replies.