You should use not the categories, but two different custom taxonomies (it’s like custom categories, if you’re not familiar with with WordPress taxonomies).
You can create two separate taxonomies via Custom Post Type UI plugin.
screenshot
And select to which of the post types, created taxonomy belongs. Also select that custom taxonomy is hierarchical, so it’s displayed like a category , not like tags.
Related Posts:
- Post injections into Site Origins Page builder [closed]
- Make a custom_post translatable
- How can I have different content for different countries?
- How to create groups like that in buddypress?
- Get categories and descriptions from custom post type
- Custom Taxonomy – Tags Metabox is showing instead of Categories
- Combining custom post type and post category
- Possible for Category Base and Custom post Type to share the same slug/permalink?
- GravityForm: Populate Dropdown with custom post type [closed]
- Return array of categories to php function for current post
- how to add extra meta box or textarea into custom post types
- Multiple custom post type loops in category.php
- Querying Term Posts in Loop
- How to create new category for custom post type?
- “add_post_type_support” with Custom Post Type & ACF
- Get Post Primary Category
- Weird problem happening with custom taxonmy when creating/updating posts
- Add category in post type dynamically
- Shortcode insertion in tab
- Filter categories of posts with checkboxes
- Pagination is not working on single-{slug}.php but works fine on page-{slug}.php
- Can’t get order_by meta_value_num to work properly
- How to quickly reorder posts in the admin panel that will persist for the wp-api
- Use post as category
- How to get the post type from a category id?
- Add CPT as subpage under custom page
- How to add custom post types to normal category pages
- Pagination on category page with custom post types
- Insert HTML inside link in a walker
- Custom Post Types and independent Categories – complex Taxonomy
- WooCommerce product search titles only
- check if post title in a custom post type exists in page
- Call custom post type by category
- Add category attribute to custom shortcode
- Use regular category with custom post types
- Should I use custom menu, C.P.T. or theme options, or something else for this?
- Should I use custom taxonomy or custom post type
- How to detect filter in URL in Category page?
- Set menu active state for custom posttype and category, given custom taxonomy term
- How to hack YARPP plugin to find related posts for custom post type?
- How to show CPTs in term archive
- How to change post featured image using a custom field of category?
- CPT Archive with core Category
- Group posts by custom post type
- Show listings from Impress Listing plugin in random order using taxonomy and terms
- Update menu when saving settings
- Display all posts in main category and 1 subcategory
- Replace li Items with divs with classes
- showing custom post types of a certain category only
- One-to-many post relationships that are displayed by category (using posts-to-posts plugin)
- Get posts from a custom post type by child categories of a parent category
- custom post type not showing in menu
- Custom posts don’t work
- Linking to the most recent post in a Custom Post Type
- Custom Post Type Archive Page Filtering
- Getting posts under the custom post type ui category
- Show category ID on custom post type
- How can I auto-assign a CPT post to category in a custom taxonomy when published?
- How to retain $_POST data when submitting form to custom page
- Why get_posts() not returning only selected category posts from Custom Post Type?
- single-{cpt}.php ignored
- If post has custom field then display css-class
- get_posts() with custom post type does not work outside page.php
- Adding a custom post type taxonomy template in plugin
- Posts from all the categories are being displayed instead of particular category
- Replace text in post from cvs
- Insert and then update post_type by wp_update_post
- Get parent categories of custom post type
- How to query_post custom posts within default taxonomy?
- Conditional Statement custom post type category
- Show custom post type filtered by category
- Custom Post Type With Categories
- Custom Post Types. Are there any disadvantages/advantages in using a plugin to develop them?
- add category name to permalinks on product page /category-name/product-name
- Display posts from Custom Post Type in category page on front-end
- How can I make a custom post type sticky?
- Categories sorting
- How can I make my custom posts appear in their assigned category url?
- How to call in Custom Post-Type Categories?
- Allow user to set custom order to a list of custom taxonomies?
- get_category_parents for custom post type taxonomy
- Separate custom categories from default category
- forming WP_Query for posts of all post types but from specific categories
- wp_list_categories() – current-cat class also inside posts?
- Showing posts from different categories and from custom post type
- Custom post type getting wrong categories and tags
- Categories of custom taxonomy don’t show any posts
- How to display custom taxonomies with links in filter menu?
- Show a Category X’s custom post type on Category X archive page?
- PHP variable not regenerating when publishing multiple posts at the same time
- Multiple level category drop-down from the WordPress dashboard
- Cannot add category or custom taxonomy from admin. WordPress site is hosted in Windows 16 server via IIS. No XAMPP or WAMP
- Add custom post type settings to wordress default posts
- Hide parent categories when clicked, and show it’s childs
- Limit amount of posts made within a custom taxonomy
- Problem with displaying posts in the CPT category
- Filter CPT posts by one or more categories
- Getting categories of posts under a custom taxonomy
- Action or Filter Hook for a Custom Importer
- Custom Post Types with a common category for a blog listing