Because Category is a specific taxonomy, not just a piece of general ‘functionality’ that you can add to post types.
When you add category
to taxonomies
for your post type you’re registering the Category taxonomy that already exists for Posts for your post type.
If you want to have separate Categories for your post type you need to register a custom taxonomy with register_taxonomy()
. Something like video_category
.
Related Posts:
- Get all taxonomies for all post types
- Append taxonomy terms as class names in markup?
- Order WordPress Custom Taxonomy Pages & Pagination Not Working
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- Query custom post types & Taxonomies and list them in a table on a page
- Foreach loop returning more than one item when querying taxonomy
- Function to erase every post from a taxonomy
- Using page title as a link to term archive
- How to get post count of specific taxonomy that have store name & category
- set object terms after some some time of published post – functions.php
- update custom taxonomy custom fields
- Filter taxonomy by CPT
- Check that a slug is present in the get_terms request
- Assigning categories to custom post types via a front-end form; only works for native post type
- Taxonomies are not showing in the category dropdown
- Change Search display for Custom Post Type
- Custom Taxonomy – fields
- tax_query not working?
- Getting a 404 on single custom post type page when using rewrite on a custom taxonomy
- Create 2-layered dropdown menus for custom taxonomy and custom post type
- Looping taxonomy in taxonomy?
- Custom Loop for custom post type. Compare by meta_value?
- How do loop categories post from according in WordPress? is it impossible to solve this problem?
- How to get all taxonomies of a post type?
- How do I append multiple taxonomies to the URL?
- How do I list custom taxonomy terms without the links?
- How to list custom taxonomy categories?
- clients list using wordpress
- Custom Taxonomy Template Post List with Sort Order
- wp_insert_term doesn’t work with custom post type’s taxonomy
- Date archives for custom post type
- Get the ‘slug’ of a custom taxonomy
- How can I add dropdown widget/box to admin post page?
- Custom Metabox with Taxonomy Dropdown – Saving Issue
- How to get the parent’s taxonomy?
- Limiting number of custom posts shown on taxonomy page
- wp_insert_post custom taxonomy
- Display taxonomy term only if there’s a value
- How to get only one category of custom post type?
- List terms from Custom Taxonomy
- GravityForm: Populate Dropdown with custom post type [closed]
- How to output wordpress custom tags separated by comma?
- Problem with custom post types, taxonomy and permalinks
- How to create new category for custom post type?
- Fetch taxonomies by custom post type id array
- How to retrieve category NAME instead of ID in a function with a taxonomy custom field?
- get_terms showing all categories instead of the ones assigned to a specific post
- Custom Taxonomy Permalinks Redirection
- Custom query to filter posts that have current post as a taxonomy [closed]
- wp_set_object_terms() not adding new term to custom post and custom taxonomy
- Received nothing after executing AJAX post function
- Categories of custom taxonomy don’t show any posts
- Custom Taxonomy back-end customizations
- I need to add endpoint for wordpress categories
- Is it possible to have dedicated page for parent/child taxonomy?
- Display a grid of taxonomy terms at root taxonomy page
- limit value taxonomy based on previous taxonomy value wordpress
- Categorize custom post type
- Hide a widget inside a div on specific type of post
- How to make custom taxonomy into drop down select in a custom metabox
- How to display products name in a non-alphabetical order, in a custom field (taxonomy)?
- Taxonomy in URL
- Custom select query for taxonomies that have posts categorized in another taxonomy
- Trying to get custom post of a custom taxonomy
- PHP question: how to combine syntax?
- Hide meta box for everything BUT a certain custom post type
- How can I create an automatic drop down menu with my tags?
- Get taxonomy singular name instead of taxonomy slug inside $taxonomy query
- Custom taxonomy template list not working (404)
- Use the custom post type archive for taxonomies?
- Custom post type and custom taxonomy 404 on page 2
- Taxonomy template page not working
- Show current user posts in custom post type query
- Get posts by category name
- Create a Dropdown Selector and Redirect for a Custom Taxonomy in WordPress?
- How can i display a taxonomy? i have created a plugin and then a custom type. and a taxonomy , also i have register it
- Pagination not working in custom post type. Help
- How to add specific terms in a custom post type?
- Define multiple prefixes for custom post type
- Limit custom post type to the authors only on front-end!
- Create posts inside CPT post
- Combine multiple separate lists into one
- Change custom post taxonomy values from front-end
- List posts that have the current url taxonomy
- How to transfer categories (default) to custom taxonomy?
- Pages of my taxonomy terms are showing all posts
- wordpress does not see the correct custom taxonomy hierarchy
- Post Custom & Taxonomy 404 error
- WordPress add taxonomies/terms list as a menu in archive page
- Custom Taxonomy as Link
- How to create TEMPLATES for TAXONOMIES? What I have to change in this code?
- Displaying taxonomy icon outside archive page
- Show Custom Post Type taxonomy term that matches custom field
- Show taxonomies from specific CPT
- insert a taxonomy for a custom post type
- Inserting two categories
- See the process of creating a taxonomy and tell me where I made a mistake
- Comments are not working on Custom Post Type
- add_rewrite_rule not working with custom post type
- Show custom category archive as front page and remove taxonomy slug from urls