You can use an array of post types in register_taxonomy()
$object_type (array/string) (required) Name of the object type for the
taxonomy object. Object-types can be built-in Post Type or any Custom
Post Type that may be registered.
http://codex.wordpress.org/Function_Reference/register_taxonomy
Example:
register_taxonomy( 'artist', array( 'profile', 'cd' ), $args );
Related Posts:
- Custom Post Type Archives by Date and Taxonomy
- Custom Taxonomy’s Label to change the text appearing in Appearance > Menu
- How to completely disable a taxonomy archive on the frontend?
- How to limit the number of terms (terms acts like categories)
- Taxonomy count per Post type
- Custom Post Type – Taxonomy Dropdown Menu?
- How can I list all the categories under a Custom Post Type (taxonomy)?
- Taxonomy term in permalink
- How do I display two separate taxonomy archives for two post types that share a single taxonomy?
- Query Custom Post Type taxonomy type based on page
- Taxonomy + post_type
- Disable Single Post View for Specific Taxonomy on Custom Post Type
- How to set individual capabilities on a taxonomy? Or how to re-register an existing taxonomy?
- How to get a list of term names of the custom post type im currently on in single.php
- How to show term-specific post list, without posts associated with child terms?
- Custom Post Type with Custom Title
- Get the most popular terms for a custom post type
- Custom Post Type: How to display all of same taxonomy?
- Remove “-2” from a Toolset Types URL with the same post name
- List all custom post type posts from a given category?
- Registering tags taxonomy for a custom post type
- Custom post type taxonomy template
- get_categories for custom post type and filter by custom taxonomy (brand) and list child categories of a defined category
- Remove Taxonomy Slug when No Taxonomy is Assigned to Custom Post Type?
- Custom post type with specific category structure
- Taxonomy Templates
- Category page only displaying the posts from a custom type
- Custom Post Type and Taxonomy combination
- Bug when editing custom post type category?
- Having trouble understanding custom post type and taxonomy :/
- Assign Taxonomy Based on Custom Field Value
- Custom Taxonomy Creates Unwanted Integer Terms on Post Save
- Exclude specific taxonomy term when using wp_get_post_terms
- tax_query returning all posts instead of selective posts in WP_Query
- Get Post Primary Category
- How to check the terms in single custom post type template
- Custom Post Type Taxonomy Filters
- How to build custom route by adding taxonomies to URL ? ex: www.demo.com/communities/palo-alto/
- Custom post taxonomies as tax_query terms?
- Get related posts of child term of custom post type
- How do I check if the user is on a taxonomy term parent, child or grandchild page?
- Custom post with more than one custom taxonomy
- Get the taxonomy of a post hierarchically
- How to get list of taxonomy slugs ordered parents>childs?
- Conditional statement for if archive page has posts which contain certain taxonomies/categories/tags, show those terms
- How to organize hierarchical structure in custom post type with taxonomy (like with categories)
- Review site custom post type structure
- Different Category system needed for the Custom Post Type
- Categories and tags for custom post types
- Rename a slug label
- Custom Taxonomy Category link
- Get Post Terms of Current Post (selected taxonomy term) – How to get only the taxonomy value and not “Array ( [0] => taxonomy term )” in the frontend?
- How to get all Custom Post Type Filtered by one Specific Taxonomy Term
- Archive-posttype.php isn’t loaded
- How to define a term for custom taxonomy
- List custom taxonomy as navigation – taxonomy pages with all it’s posts?
- Need help deciding on a taxonomy
- Query all post and CPT from 2 specific taxonomies AND by ACF custom field
- Get Posts by Category, Tag , and CPT Taxonomy
- Topic won’t save for a custom post type — how to debug?
- WordPress multisite – is it possible to have different taxonomies for each site?
- Get assigned post categories
- Query custom post types & Taxonomies and list them in a table on a page
- Default Category Page not showing custom post type which has taxonomy category
- How to show list of taxonomy terms associated with specific post?
- Creating custom post type posts and associating them with a post from another custom post type
- I have custom post type with custom taxonomy. But not found the taxonomy page..
- Group Custom post type in a taxonomy page by its child taxomony
- Custom taxonomy query showing more than 4 posts
- Custom Post Types – Taxonomy and Customization
- wp_dropdown_pages with tax_query clause
- Duplicate slug/permalink issue while adding same post name
- How best to structure multiple CPTs and tax within a ‘resources’ section
- Custom post type archive page filters
- Filter taxonomy by CPT
- Custom permalink structure for custom post types including multiple taxonomy
- get taxonomies from terms
- How to group custom posts in admin menu based off taxonomy/postmeta
- How to get current post type?
- Taxonomy counter on Taxonomy List(plugin)
- tax_query not working?
- Multiple Custom Post Type with different Taxonomies
- Wrap an X amount of taxonomy posts in a separate Row in WordPress
- I want to create an archive and single page for a custom taxonomy for a custom post type
- Taxonomy’s title
- Display all posts from single taxonomy term
- Connect 8 Taxonomies to One (Main) taxonomy. How to?
- Filter By Term Not Working – Custom Post Type
- Default taxonomy ‘post_tag’ added to CPT managing by custom role : nothing in the metabox
- Custom Search not working
- Custom post type post taxonomies
- category_name not working in WP_Query
- Problems with custom post type and hierarchical permalinks
- Structure of custom post type / taxonomy?
- List custom taxonomy terms
- Display associated taxonomy child name on single CPT page
- Issue On Listing Woocommerce Parent Tag List
- Is there a function that replace category name with a icon?
- Taxonomy listing issue – does not display how I would like
- Show custom category archive as front page and remove taxonomy slug from urls