In general, categories
are tied to posts
only (not custom types). This is built-in taxonomy. Though there is another experience.
My approach is to create custom post types and custom taxonomies. That’s up to you how to organize the catalog. CPT for company and taxonomy for product family, or otherwise:
/makita/drills/product_1
/makita/drills/product_2
/bosch/drills/product_1
/bosch/drills/product_1
or
/drills/makita/product_1
/drills/makita/product_2
/drills/bosch/product_1
/drills/bosch/product_2
Both CPTs and taxonomies can be hierarchical, so you’ll get “subcategories” in any way:
/drills/cordless/makita/product_1
or
makita/drills/cordless/product_1
or
/drills/makita/cordless/product_1
Note, you have to plan your theme template hierarchy first to avoid difficulties in future.
Related Posts:
- Getting Custom post category from Form
- Front end page submission form does not attach custom post type
- create category upon saving post and save post in that category
- How to sort post category using its Description
- Convert category to custom post type
- Custom WordPress theme not displaying posts from category
- Wanting to list all Post types under a common category
- How can I display a specific category on Front-Page
- How to show posts of the same category on a page?
- Show Custom Post Type based on Category on Archive Page
- Cannot get to work tax_query array for terms
- Convert With Custom Post Type
- Change custom post taxonomy values from front-end
- To display the category of a specific custom post type
- Get posts in custom post type categories
- Set a Default CPT taxonomy by taxonomy id
- Pagination for a cpt filtered with a category
- assign array of category to custom post type
- Do not load the categories in Category.php
- Get meta values from parent post and save in child post
- Automatic Set Category For A Custom Post Type
- how to create custom taxonomy drop downs for parents and child
- How to seperate posts by categories?
- Page + Custom Post Type with same category
- How to manage a dynamic multi-level page hierearchy system?
- WooCommerce change
- Custom Post By Category
- Adding categories to custom post type in permalink
- Categories manage
- Adding Custom Post Types to category/tag/author archives breaks header content
- Custom category taxonomy – archive page not showing up
- Change custom post type permalink according to category
- Counting the number of post without custom post type
- Modify the category post counting function
- I can not call the categories of custom post type
- Use Category for Custom Post Type – But Need Another Separate Archive Page too
- Only show categories that have posts within custom post type
- Custom Post Type is not respecting assigned categories
- Saving Child Terms on front end not setting parent
- WordPress Front-End user restricted taxonomies
- Loop through a specific parent category
- Change Custom Post Type to Post + Category
- Query the title of the page to show posts with matching category in the loop
- Multi Photo Upload with Caption on Front End for Custom Post Type
- Front End users account with lots of user Roles (not Woocommerce)
- Reuse the “category” slug for a custom post type
- Custom Template for CPT Categories
- Help with Travel Guide Setup
- How to create groups like that in buddypress?
- Show “Republished” badge when Post Date is manipulated
- How to sort custom post’s category by id from the theme’s function.php?
- Excluding category from loop not working
- Custom Post – additional param in the custom post URL goes to error page
- Custom post types not displaying per category
- How to Show all Values in category.php page using post_type
- Only show current category post
- Update Cateogory Taxonomy Count for Attachment Post Type
- Custom post type category archive URL redirects to home page
- Project Category Heading
- Help with Multi Level Category Archive Page
- Getting list of Categories for Custom Post Types
- How can I generate a list of post-type specific categories?
- how to use two permalinks for one custom post type based on categories
- How To Display Category list from Portfolio post type plugin?
- can’t see categories in appearance-menu-categories
- Do not output category and tag URLs
- Structuring 3K pages in WordPress
- Can’t seem to filter wp_query by current category ID
- Dropdown switching subcategories portfolio
- Add a meta to custom post type which corresponds to a particular taxonomy
- Custom post type URL – filter by taxonomy
- Filter wp_dropdown_categories Per Post Type
- Get full control over custom post type url
- How to switch from custom post type URL to category URL?
- Add a image to a post published on a CPT from the front-end
- Extensive search filtering and results->PDF in the front-end
- Display custom Taxonomies same as listing Categories
- Custom Post Type + Category archive
- Custom Post type archives / categories give 404
- Organizing The Custom Post Type with Taxonomies / Parent Posts
- Display 2nd category, only once, as sub-heading, in the loop
- How to query all custom posts of a certain type and checking what category they have
- Exclude categories For Custom post types
- Post Editor: display categories from current post type taxonomy only?
- Custom Post Type – Admin Columns
- archive.php can’t find categorized posts
- Custom Catagory not found
- Page to show custom posts and one category
- Best way to structure article and issue relationship for CPT
- Problem to show custom post type in archive page category wise
- Show custom post type in archive page by category
- Custom Post Type used for FAQs Accordion
- I have a custom post type that I want to query a dynamic category name from a custom meta field
- Category slug not showing for Custom Post Type
- wp_list_categories() with attachment post types
- Get a list of categories ids
- Issue with permalinks for custom post type
- How to call Shortcode categories for custom post types?
- category page template for custom post type
- Display all post types together