Title: Taxonomy shared between two CPTs
Last modified: April 11, 2023

---

# Taxonomy shared between two CPTs

 *  [JamesKoussertari](https://wordpress.org/support/users/jameskoussertari/)
 * (@jameskoussertari)
 * [3 years ago](https://wordpress.org/support/topic/taxonomy-shared-between-two-cpts/)
 * Hi, I have a custom taxonomy that is shared between two custom post types.
 * In the breadcrumb trail for taxonomy term archives, most of them show the CPT
   that I want to display. However, one of the taxonomy term archives shows the 
   other CPT in the trail (the one I don’t want to display). I’m not sure what exactly
   is determining which one displays. It seems random.
 * Is there a way to specify which CPT to display in the trail when a taxonomy is
   shared between multiple CPTs? Or perhaps a way to make one of the CPTs the primary
   one when used in breadcrumbs?
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [John Havlik](https://wordpress.org/support/users/mtekk/)
 * (@mtekk)
 * [3 years ago](https://wordpress.org/support/topic/taxonomy-shared-between-two-cpts/#post-16657092)
 * Breadcrumb NavXT tries to associate a post type to a taxonomy, normally it will
   attempt to use the first post type the taxonomy is registered to. You can control
   the post type a taxonomy archive uses via the `[bcn_type_archive_post_type](https://mtekk.us/code/breadcrumb-navxt/breadcrumb-navxt-doc/2/#bcn_type_archive_post_type)`
   filter.
 *  [nicklamb](https://wordpress.org/support/users/nicklamb/)
 * (@nicklamb)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/taxonomy-shared-between-two-cpts/#post-16763344)
 * Thanks for providing this great plugin. I have the same issue – a custom taxonomy
   shared between 2 custom post types. Ideally I would like to replace the “parent”
   CPT link in the breadcrumb trail with a specific page. Any chance of a code sample
   to show us the way?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Taxonomy shared between two CPTs’ is closed to new replies.

 * ![](https://ps.w.org/breadcrumb-navxt/assets/icon.svg?rev=1927103)
 * [Breadcrumb NavXT](https://wordpress.org/plugins/breadcrumb-navxt/)
 * [Support Threads](https://wordpress.org/support/plugin/breadcrumb-navxt/)
 * [Active Topics](https://wordpress.org/support/plugin/breadcrumb-navxt/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/breadcrumb-navxt/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/breadcrumb-navxt/reviews/)

## Tags

 * [cpt](https://wordpress.org/support/topic-tag/cpt/)
 * [Custom Post Types](https://wordpress.org/support/topic-tag/custom-post-types/)
 * [multiple](https://wordpress.org/support/topic-tag/multiple/)
 * [shared](https://wordpress.org/support/topic-tag/shared/)
 * [taxonomy](https://wordpress.org/support/topic-tag/taxonomy/)

 * 2 replies
 * 3 participants
 * Last reply from: [nicklamb](https://wordpress.org/support/users/nicklamb/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/taxonomy-shared-between-two-cpts/#post-16763344)
 * Status: not resolved