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
- Category display using conditions
- Categories of custom taxonomy don’t show any posts
- How to display custom taxonomies with links in filter menu?
- Custom Taxonomy back-end customizations
- How do I associate a custom post type with another through a taxonomy or storing an ID in a custom field?
- Taxonomy custom post type URL
- How to Filter custom post type by taxonomy?
- 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?
- Get related posts of child term of custom post type
- Limit amount of posts made within a custom taxonomy
- Show custom post type relationships by taxonomy
- Issue on Creating Custom Tax Term Dynamically From Another CPT Meta-box On Publish
- list taxonomies from a custom post type
- Display a grid of taxonomy terms at root taxonomy page
- WordPress loop: Show only a Custom Post Type Taxononmy TERM
- limit value taxonomy based on previous taxonomy value wordpress
- Dynamic dropdown select values depending on other custom field value
- How do I display the taxonomy for a custom post type in an array
- How do I check if the user is on a taxonomy term parent, child or grandchild page?
- How do I display the grand child items of a taxonomy term?
- Taxonomies relations
- Is it better to use WordPress Custom Post Types or Taxonomies?
- Full Custom Post Type List Organised by two Taxonomies
- WordPress Doesn’t Generate Taxonomy Archive
- Suggested Post and Taxonomy structure
- Hierarchy and access control for Custom Post Types (CPT)
- First custom field value (out of several) displayed twice after query
- Custom post with more than one custom taxonomy
- Get the taxonomy of a post hierarchically
- Adding custom taxonomy in same menu place with two custom post types
- How to make custom taxonomy into drop down select in a custom metabox
- How to group posts and get a mixed posts and groups view?
- How to get list of taxonomy slugs ordered parents>childs?
- How do I share categories across multiple post types?
- Multiple tag cloud filtering
- Get url.com/post_type/taxonomy/term work!
- Taxonomy in URL
- Show fields based on taxonomy selection in editor
- Permalinks: custom structure for taxonomy – tags?
- Different Category system needed for the Custom Post Type
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- How to Set Taxonomy Object Description?
- Custom select query for taxonomies that have posts categorized in another taxonomy
- Custom post type’s extra fields – how to handle?
- Custom Taxonomy Is Being Pulled into a Page, But It Doesn’t Have A Hyperlink
- Querying two taxonomies with tax_query not woking
- 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?
- Hide specific taxonomies from a taxonomy list using ‘get_object_taxonomies’
- Creating custom post type with custom taxonomy and custom fields programatically
- Custom taxonomy (categories) on custom post type return no results
- Variable not working in WP_Query
- Hide meta box for everything BUT a certain custom post type
- get_category_link() for custom post type does not include custom slug rewrite?
- How to list tags from custom post type attachments?
- How can I create an automatic drop down menu with my tags?
- How to define a term for custom taxonomy
- Custom taxonomies to define versions of a product
- List custom taxonomy as navigation – taxonomy pages with all it’s posts?
- Alphabetically sort a taxonomy.php template by post title
- Custom Post Types not queried in Custom Taxonomy archives or Native archives
- Custom Taxonomy Search result page
- Get taxonomy singular name instead of taxonomy slug inside $taxonomy query
- Show Taxonomies with admin area for custom post type?
- Category Search / Custom Post Type search on my website. Custom Post Types that are “page-like”?
- Many to many to many custom post relationships
- Custom taxonomy template list not working (404)
- Display a post from custom post type only if all the selected taxonomies and custom field value matches the record
- Use the custom post type archive for taxonomies?
- 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
- Query custom post types & Taxonomies and list them in a table on a page
- Taxonomy template page not working
- How to show list of taxonomy terms associated with specific post?
- How to fetch custom post types with its full data on wordpress?
- Changing CPT slug and taxonomy already registered in parent theme
- Reusable metabox backend and frontend
- How to populate a Gravity Forms Custom Post Field (dropdown type) with custom taxonomy terms? [closed]
- Get custom term meta problem on single post type
- Custom post type name and assigning custom taxonomy
- Creating custom post type posts and associating them with a post from another custom post type
- Group Custom post type in a taxonomy page by its child taxomony
- Copy/Move selected taxonomy terms to another taxonomy for posts
- Custom Taxonomy Terms in Menu lead to which page?
- Getting List of child terms from custom taxonomy parent