when you register a taxonomy, the second argument is the post type it is available for:
register_taxonomy( $taxonomy, $object_type, $args );
if you want the taxonomy to work for a custom type as well as standard posts, you can pass an array of types:
$object_type = array( 'your_custom_type', 'post' );
alternately, you can use register_taxonomy_for_object_type:
register_taxonomy_for_object_type( 'your_custom_taxonomy', 'post' );
Related Posts:
- Taxonomy: Why ‘with_front’ => false DOES NOT WORK?
- Custom Taxonomy Template Post List with Sort Order
- Custom Post Type Taxonomy Filters
- How to conditionally redirect to the post from a taxonomy page?
- How to display products name in a non-alphabetical order, in a custom field (taxonomy)?
- Targeting categories in custom fields
- How to get_term_meta on single custom post?
- I have custom post type with custom taxonomy. But not found the taxonomy page..
- ACF – Retrieve custom taxonomy from a relationship field
- Display Custom Field or Custom Taxonomy in front page /post/product
- Showing taxonomies with terms that are attached to custom post
- Storing/querying custom date data
- How to Add Custom Fields to a Custom Post Type?
- How do I list custom taxonomy terms without the links?
- wp_insert_term doesn’t work with custom post type’s taxonomy
- Exclude from search all custom posts which are NOT in a taxonomy term
- How to do a custom bookmarks post type?
- Custom SQL Query on Custom Post Type. Order by Taxonomy?
- WordPress Search documentation: how to improve search query using taxonomy terms, custom meta fields?
- How to get the parent’s taxonomy?
- How do I list terms of a custom taxonomy at i.e. domain.com/brands/
- wp_insert_post custom taxonomy
- Taxonomy-{taxnonomy}.php is not working
- Display taxonomy term only if there’s a value
- Get list of terms of current taxonomy archive for another taxonomy
- What is better: Custom Fields vs Custom Taxonomies with Terms for perfomance, scalability and better user experience
- How to add custom fields to admin UI and REST API response?
- Show Post Count of a Category
- Menu Multiple Taxonomies
- How to make a custom taxonomy selectable in post publish area?
- Fetch taxonomies by custom post type id array
- get_terms showing all categories instead of the ones assigned to a specific post
- Custom page template for category taxonomy
- How do I get array of types associated with a taxonomy?
- wp_set_object_terms() not adding new term to custom post and custom taxonomy
- Display all posts in main category and 1 subcategory
- wp_get_post_terms on custom post type with custom taxonomies returning an empty array
- Categories of custom taxonomy don’t show any posts
- Is it possible to have dedicated page for parent/child taxonomy?
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- Display a grid of taxonomy terms at root taxonomy page
- limit value taxonomy based on previous taxonomy value wordpress
- How to make custom taxonomy into drop down select in a custom metabox
- Rename a slug label
- 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?
- Custom taxonomy (categories) on custom post type return no results
- Many to many to many custom post relationships
- Rewrite custom post type with taxonomy
- WordPress multisite – is it possible to have different taxonomies for each site?
- My custom taxonomy is only displaying 1 of 3 terms
- How to show list of taxonomy terms associated with specific post?
- Reusable metabox backend and frontend
- Group Custom post type in a taxonomy page by its child taxomony
- Getting List of child terms from custom taxonomy parent
- Get A Custom Field From A Custom Taxonomy Of A Custom Post Type [closed]
- Custom post types category
- Custom taxonomy query showing more than 4 posts
- Using page title as a link to term archive
- Custom Taxonomy dont save in a frontend form for post a custom post
- Should i use custom post type for a custom footer?
- How do I ensure that post_type and Taxonomy use the same slug?
- “Menu order” being ignored when querying posts from a parent taxonomy with “include_children” set to true
- Custom taxonomy terms as children of multiple custom post types
- Custom Post Type meta data getting deleted on bulk editing taxonomies
- Get the taxonomy value in the post loop inside the archive page
- How to show related posts of category on post within custom posttype
- wp_set_object_terms creates taxonomies but does not add custom posts to it
- How to add CSS class field in Custom Taxonomy?
- WP_Query for custom taxonomies showing posts from non-specified terms?
- PHP Warning with Custom Fields
- Listing all custom posts having a specific taxonomy whatever the terms
- How to Use A Custom Post Type as Taxonomy for Another Custom Post Type
- How to manage a dynamic multi-level page hierearchy system?
- Display custom tax in “while” loop
- Categories manage
- Getting all custom post taxonomies and exhibiting only part of them
- Custom Taxonomy page redirecting to 404 page
- Changing an item in drop down after 5 latest posts per taxonomy
- Displaying WordPress posts from post and custom post type in custom taxonomy
- Custom post type taxonomy template and URL confusion
- Custom Taxonomy is disabled on Edit page
- Need some suggestion/help with custom post types project
- Override “Parent” input for custom taxonomy
- Get list of CPT posts in *current* post’s taxonomy term
- tax_query showing no results
- Connecting multiple post types? Or linking “News” posts with “Game” posts how?
- Sort by Custom Post Type (Multiple Loop)
- How to display elements of different post types?
- How to display only taxonomies of custom post type in a page?
- Check if taxonomy is attached to at least one post in a post-type
- Looping taxonomy in taxonomy?
- Custom posts and custom taxonomies for many products and categories?
- get_the_term_list() wanting to loop through the returned values
- How do i get the taxonomy term name on the CPT archive page?
- Custom Post type as Taxonomy
- I want to understand plugin implementation of custom posts / taxonomies / metaboxes
- Is it possible for post and custom post type to share a category base slug?
- Taxonomy Archive URL + Template
- Creating subpages for each custom post type
- Custom Taxonomy archive with url parameters