One post (custom post type) with multiple selected taxonomies?

[ad_1]

**Conext:**

1. I have a custom post type called “Providers” and a custom taxonomy called “Team”. The taxonomy includes the values “Surgeons”, “Eye Doctors”, “Leadership”, etc.
2. I have a taxonomy archive page created for each team that successfully pulls in all providers with said taxonomy selected.
3. When a provider, say Dr. Kathy, has multiple teams selected (e.g. Surgeons and Leadership), she’s queried into the team pages correctly, but her provider single page ALWAYS has “Leadership” in the breadcrumb…even if coming from the “Surgeons” team page.

​

Questions:

1. How do I use the previous team page (title?) to set the preferred (displayed) taxonomy for the breadcrumb on the provider’s single? For example, if I click on Kathy on the Surgeons page, I want her single page to say “Surgeons” in the breadcrumb instead of “Leadership” like it resorts to.
2. Am I using custom post types and taxonomies wrong to where this isn’t straightforward to achieve?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer