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 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
- Query Custom Post Type taxonomy type based on page
- Disable Single Post View for Specific Taxonomy on Custom Post Type
- 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
- Query multiple taxonomy in Custom Post Type
- Get the most popular terms for a custom post type
- Remove “-2” from a Toolset Types URL with the same post name
- 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
- 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
- How can I move a custom taxonomy and its data from one post type to another?
- Custom Taxonomies not appearing in Admin
- Custom Post Type Taxonomy Filters
- Can taxonomies of custom post types be used with category actions?
- 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?
- WordPress Doesn’t Generate Taxonomy Archive
- 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 display products name in a non-alphabetical order, in a custom field (taxonomy)?
- Taxonomy in URL
- How to organise this data within WordPress
- Output terms for custom post types
- How to Set Taxonomy Object Description?
- Custom select query for taxonomies that have posts categorized in another taxonomy
- Variable not working in WP_Query
- Hide meta box for everything BUT a certain custom post type
- Associate all Custom Post Types with Taxonomy
- Alphabetically sort a taxonomy.php template by post title
- Show Taxonomies with admin area for custom post type?
- Custom taxonomy template list not working (404)
- Use the custom post type archive for taxonomies?
- Taxonomy template page not working
- Copy/Move selected taxonomy terms to another taxonomy for posts
- Running a custom query inside another cpt single and trying to grab a variable
- Get post-meta value of all custom-posts – lowest to highest year-count?
- Query Custom Post Type by Taxonomy
- Copying over taxonomy structure from one CPT to another
- Sort Archive by Taxonomy
- Query all posts under one taxonomy? Why is my code not working?
- Display ONE taxonomy and its assigned pages
- Page that lists publications by classifying them by taxonomy
- Order posts by taxonomy terms
- Filtering posts based on three taxonomies
- Define multiple prefixes for custom post type
- Display category filters for custom post type when category is shared by multiple post types
- How to order taxonomy terms by most recent post?
- editing shortcode for custom post type within a plugin
- Taxonomies are not showing in the category dropdown
- How to display all terms from all taxonomies in post, but separately for each taxonomy?
- List all posts associated under custom taxonomy
- How to transfer categories (default) to custom taxonomy?
- Taxonomy to Post Type. Every Taxonomy Item can be Producer or Developer
- Custom Taxonomy – fields
- Custom post type category link + add to menu
- One of my headings is mysteriously coming up as a link in my CPT Archive
- Single taxonomy for different custom post types
- Taxonomy and Custom Post type with Collpase
- Best approach to allow front-end display of posts’ reviewers?
- Listing Custom Post Post from certain category
- Custom Post Type and Taxonomies, creating the corresponding template file and loop the data
- Custom Post Type parent slug as menu item
- Sorting on Taxonomy in archive page
- Create an additional template page for every term taxonomy
- Archive templates based on taxonomies
- Query Distinct Taxonomies of Custom Post Type
- Show taxonomies from specific CPT
- List a custom post type’s posts ordered by nested custom taxonomy
- Single and Archive Pages with Custom Post Type
- Sharing a custom taxonomy – No posts?
- See the process of creating a taxonomy and tell me where I made a mistake
- show only one category posts in admin
- Taxonomy listing issue – does not display how I would like
- Show custom category archive as front page and remove taxonomy slug from urls
- Passing total post count to javascript
- Custom Taxonomy archive with url parameters