It’s showing blank because there are no posts in it. The default category taxonomy is only connected with the default post type. To enable it to use it with a custom post type, add the following line to the register_post_type configuration
'taxonomies' => array( 'category' ),
For more info : https://codex.wordpress.org/Function_Reference/register_post_type#taxonomies
Related Posts:
- WP_Query by a category id and a custom post_type
- Why are posts from custom post type not displayed in “category” archive?
- How can I list all the categories under a Custom Post Type (taxonomy)?
- Custom Posts Types using Posts Category
- category__in not working on custom post type
- how do I group content in magazine-style ‘issues’?
- How to get a list of term names of the custom post type im currently on in single.php
- Use standard WordPress categories with a CPT
- Regex problem in an add_rewrite_rule
- How can I add single catogory for custom post type?
- Custom edit post column – category not showing
- Get the post_type of current taxonomy or category page
- Categories and Tags not working!
- automatically save custom post type title as a category
- get_categories for custom post type and filter by custom taxonomy (brand) and list child categories of a defined category
- get_categories() for only CPT
- category.php displays ALL posts instead of just those with the current category
- custom taxonomy archive by year
- Display Next/Prev when looping Custom post-types archive?
- Possible for Category Base and Custom post Type to share the same slug/permalink?
- Weird problem happening with custom taxonmy when creating/updating posts
- Pagination on category page with custom post types
- How to detect filter in URL in Category page?
- CPT Archive with core Category
- Replace li Items with divs with classes
- showing custom post types of a certain category only
- Get posts from a custom post type by child categories of a parent category
- get_posts() with custom post type does not work outside page.php
- Show custom post type filtered by category
- Show a Category X’s custom post type on Category X archive page?
- Multiple level category drop-down from the WordPress dashboard
- Filter CPT posts by one or more categories
- Getting categories of posts under a custom taxonomy
- How to get categories linked in posts for a specific post type
- WP Query with categories only shows one post and ignores the category
- How to edit this code to get the categories in achieve page?
- Get the category from custom post type
- How to create a gallery page with categories?
- Hierarchy and access control for Custom Post Types (CPT)
- Loop filtering Custom Post Types and/or Categories
- Best method to make posts searchable, sortable and filterable – custom field, tag or category?
- Cross reference custom post types
- Make a custom_post translatable
- Conditional statement for if archive page has posts which contain certain taxonomies/categories/tags, show those terms
- How can I list Custom Post Types created with the Types plugin under categories?
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Custom templates for a specific category
- How to retrieve category of a post in have_post loop?
- Categories and tags for custom post types
- Get parent category id from child category page for custom taxonomy
- How to add current custom taxonomy slug to body class
- Meta data (Tags and Categories) for Custom Posts not showing.
- Disable custom taxonomy on admin bar
- Custom post types with categories in template
- Want a custom query with just one category but from all custom post types
- Default Category Page not showing custom post type which has taxonomy category
- Add Extra Category Field to CPT Categories
- Category Name with Custom Post Type
- Am I mixing up the concept of posts pages and categories?
- CPT archive page – show one post from each taxonomy term
- how to organize my categories or should I do custom post types for some?
- Order Categories by Hierarchy?
- Multiple categories assigned to a single product breaking the breadcrumb
- How to divide Subcategories into pages of parent category wordpress
- Custom front-end form for adding post – Category problem
- Custom post type archive page filters
- Custom Post Type Category Displaying ALL Sub Categories as well
- Control over custom post types on a specific page
- Custom query using one category that is used in all custom post types
- get taxonomies from terms
- create a “add icon” field in taxonomies page
- Feature image Gallery made from Custom Post type + Categories
- Convert With Custom Post Type
- To display the category of a specific custom post type
- Get meta values from parent post and save in child post
- Custom category taxonomy – archive page not showing up
- Use Category for Custom Post Type – But Need Another Separate Archive Page too
- Only show current category post
- how to use two permalinks for one custom post type based on categories
- Get full control over custom post type url
- How to switch from custom post type URL to category URL?
- archive.php can’t find categorized posts
- Custom Catagory not found
- Page to show custom posts and one category
- How can I list custom post by custom category?
- Using get_terms() as shortcode attribute
- category_name not working in WP_Query
- how to show perticular category posts in custome page
- Use only selected regular categories for a Custom post form
- Bulk remove category from custom post type?
- Problem with menu categories doubling up when updating database?
- Custom Post Type or just Post Categories?
- Remove slug from Custom Category Permalink + dual-category permalinks
- How to query posts by category with the_title();
- Show custom post type on post category page doesn’t work / breaks navigation
- Can WordPress show posts based on a button that the user clicked 2 pages back?
- How to separate posts by categories?
- Custom Post Types Permalink
- How to add categories to a custom post type using wp_insert_post($new_post);