Your category URLs are correct, they won’t change by virtue of being associated with a custom post type. I’ll guess that the problem is that default category queries do not include any custom post types, so will display “Nothing found” on term pages where the only associated posts are a CPT. To fix that, you need to alter category queries via pre_get_posts:
function wpa_cpt_in_categories( $query ){
if ( ! is_admin()
&& $query->is_category()
&& $query->is_main_query() ) {
$query->set( 'post_type', array( 'post', 'project' ) );
}
}
add_action( 'pre_get_posts', 'wpa_cpt_in_categories' );
Related Posts:
- How can I list all the categories under a Custom Post Type (taxonomy)?
- How to list all categories and tags in a page?
- Custom post type taxonomy template
- Show Post Count of a Category
- How to create new category for custom post type?
- Display all posts in main category and 1 subcategory
- Categories of custom taxonomy don’t show any posts
- How to display custom taxonomies with links in filter menu?
- Limit amount of posts made within a custom taxonomy
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Targeting categories in custom fields
- How to show related posts of category on post within custom posttype
- Create custom post type categories
- Set a Default CPT taxonomy by taxonomy id
- How to manage a dynamic multi-level page hierearchy system?
- Categories manage
- Is it possible for post and custom post type to share a category base slug?
- How to get all taxonomies of a post type?
- How to change permalink structure for custom post type and it’s taxonomies?
- Filtering a custom post type by custom taxonomy in archive template
- How to build a complex page structure
- How do I list custom taxonomy terms without the links?
- How to list custom taxonomy categories?
- Custom Taxonomy Template Post List with Sort Order
- wp_insert_term doesn’t work with custom post type’s taxonomy
- How to get the parent’s taxonomy?
- wp_insert_post custom taxonomy
- Taxonomy list. Order by a specific custom post type count
- Display taxonomy term only if there’s a value
- Custom/separate categories for custom post type
- Display types of posts in edit.php instead of All, Published, Scheduled and Draft
- Custom Post Types and Categories?
- Get categories and descriptions from custom post type
- Problem with custom post types, taxonomy and permalinks
- Fetch taxonomies by custom post type id array
- get_terms showing all categories instead of the ones assigned to a specific post
- Should I use custom taxonomy or custom post type
- How to show CPTs in term archive
- wp_set_object_terms() not adding new term to custom post and custom taxonomy
- How can I auto-assign a CPT post to category in a custom taxonomy when published?
- Is it possible to have dedicated page for parent/child taxonomy?
- Can’t remove front from permalinks for custom taxonomy category page
- 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
- List of Posts and Categories
- Different Category system needed for the Custom Post Type
- 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
- How to Display Posts From Category Within a Custom Taxonomy?
- How to define a term for custom taxonomy
- List custom taxonomy as navigation – taxonomy pages with all it’s posts?
- Need help deciding on a taxonomy
- Get Posts by Category, Tag , and CPT Taxonomy
- The Difference Between Categories and Tags and Taxonomies and Terms
- WordPress multisite – is it possible to have different taxonomies for each site?
- Get assigned post categories
- Query custom post types & Taxonomies and list them in a table on a page
- Default Category Page not showing custom post type which has taxonomy category
- How to show list of taxonomy terms associated with specific post?
- Creating custom post type posts and associating them with a post from another custom post type
- I have custom post type with custom taxonomy. But not found the taxonomy page..
- Group Custom post type in a taxonomy page by its child taxomony
- Get child categories of custom taxonomy category?
- Getting List of child terms from custom taxonomy parent
- Custom taxonomy query showing more than 4 posts
- Get terms for a specfic post from multiple taxonomies in custom post type
- Custom post type, taxonomy and admin bar
- how to organize my categories or should I do custom post types for some?
- How to get post count of specific taxonomy that have store name & category
- Duplicate slug/permalink issue while adding same post name
- 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
- Filter taxonomy by CPT
- get taxonomies from terms
- Show Custom Post Type based on Category on Archive Page
- Get all posts for custom taxonomy term
- Custom category taxonomy – archive page not showing up
- tax_query not working?
- I want to create an archive and single page for a custom taxonomy for a custom post type
- Taxonomy’s title
- Display all posts from single taxonomy term
- Connect 8 Taxonomies to One (Main) taxonomy. How to?
- Filter By Term Not Working – Custom Post Type
- Custom post type category archive URL redirects to home page
- Organizing The Custom Post Type with Taxonomies / Parent Posts
- Display 2nd category, only once, as sub-heading, in the loop
- Custom post type post taxonomies
- category_name not working in WP_Query
- How can I set up the URL for a category archive for a custom post type?
- List custom taxonomy terms
- Remove slug from Custom Category Permalink + dual-category permalinks
- Display associated taxonomy child name on single CPT page
- Issue On Listing Woocommerce Parent Tag List
- Taxonomy Archive URL + Template
- WP Query filtering by custom category not showing all relevant posts
- Custom Taxonomy archive with url parameters