Choose dinamically the taxonomy of the path in single.php
-
Hi,
I have two taxonomies that apply to the posts. One is custom and one is the standard “category”.I want to choose dinamically which taxonomy show in the breadcrumb of the single.php, based on the category that the post belongs to.
Example: if a post belongs to the category “Press” I want to show the hierarchy of category, otherwise I want to show the hierarchy of my custom taxonomy.
Is that possible?
- The topic ‘Choose dinamically the taxonomy of the path in single.php’ is closed to new replies.