I’ve just gotten my head around Doing something similar. This is adapted from this tutorial
- For your post type registration make sure that query_var, publicly_queryable, and has_archive are set to true and rewrite is set to false.
- Next up is the code here.
Edit: sorry, but code hinting is completely not working for me today. Code is in above link
Related Posts:
- How to change permalink structure for custom post type and it’s taxonomies?
- Get the first post term
- Creating “static” taxonomies to choose from, inside custom post type?
- How can I list all the categories under a Custom Post Type (taxonomy)?
- How to list all categories and tags in a page?
- How to sort list of custom posts to get view like a tree of posts under categories and their children’s categories?
- How to get a list of term names of the custom post type im currently on in single.php
- List all custom post type posts from a given category?
- Custom post type taxonomy template
- get_categories for custom post type and filter by custom taxonomy (brand) and list child categories of a defined category
- Category page only displaying the posts from a custom type
- Show Post Count of a Category
- Custom Post Types and Categories?
- How to create new category for custom post type?
- Get Post Primary Category
- Pagination is not working on single-{slug}.php but works fine on page-{slug}.php
- How to get the post type from a category id?
- How to show CPTs in term archive
- Display all posts in main category and 1 subcategory
- Show category ID on custom post type
- 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
- Conditional statement for if archive page has posts which contain certain taxonomies/categories/tags, show those terms
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Categories and tags for custom post types
- get_category_link() for custom post type does not include custom slug rewrite?
- Targeting categories in custom fields
- Invalid Taxonomy
- Need help deciding on a taxonomy
- Get Posts by Category, Tag , and CPT Taxonomy
- Get assigned post categories
- Default Category Page not showing custom post type which has taxonomy category
- Categories won’t appear on custom post type
- Custom Post Type with modified permalink structure results in 404
- Custom post type, taxonomy and admin bar
- Displaying taxonomies as category links within sidebar and creating pages for these
- Custom post type archive page filters
- How to show related posts of category on post within custom posttype
- get taxonomies from terms
- Create custom post type categories
- Set a Default CPT taxonomy by taxonomy id
- how to create custom taxonomy drop downs for parents and child
- How to manage a dynamic multi-level page hierearchy system?
- Categories manage
- I can not call the categories of custom post type
- Reuse the “category” slug for a custom post type
- How to create groups like that in buddypress?
- Update Cateogory Taxonomy Count for Attachment Post Type
- Best way to structure article and issue relationship for CPT
- Custom Post Type used for FAQs Accordion
- category_name not working in WP_Query
- How can I set up the URL for a category archive for a custom post type?
- Custom Post Type order Title ASC
- show only one category posts in admin
- Is it possible for post and custom post type to share a category base slug?
- Add taxonomy or category slug to custom post types URL
- How to determ a custom post type url?
- Exclude a category from WP_Query
- Custom Post Types on Category Pages
- Custom taxonomy not showing up when adding a new custom post type
- Create an archive page for custom taxonomies
- Filter get_categories() for taxonomy term in WordPress
- Taxonomy-{taxnonomy}.php is not working
- get_terms won’t display product_cat or any other custom taxonomies when specified
- next_post_link and previous_post_link in custom post type single page, in same non-custom category
- Combining custom post type and post category
- Use post as category
- How to change post featured image using a custom field of category?
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- Remove CPT name from permalink but add %category% instead
- Set a checkmark in a category based on a URL-parameter
- I am having Trouble to get list of Categories of Custom post Type
- Custom post type and category link together
- Categories filtering in new post
- Enable taxonomies by post type in an array of CPTs
- Hide specific taxonomies from a taxonomy list using ‘get_object_taxonomies’
- How does the ‘the_post_navigation()’ work for CPT’s?
- Custom post type – list posts based on meta_key and display them divided by CPT taxonomy category
- Stores category posts in an array
- Display 1 Post per taxonomy with polylang
- How to add CSS class field in Custom Taxonomy?
- Taxonomy doesn’t follow slug permalink structure
- Adding Custom Post Types to category/tag/author archives breaks header content
- Change custom post type permalink according to category
- Filtering custom post using Ajax and taxonomies, keep getting 0
- Excluding category from loop not working
- Custom Post – additional param in the custom post URL goes to error page
- Related posts by taxonomy [duplicate]
- Taxonomy count per Post type
- How to display elements of different post types?
- How to filter posts by categories?
- How to display only taxonomies of custom post type in a page?
- Highlight specific menu item when custom post is page
- Echo post count of CPT with current taxonomy
- Test if a Category contains certain Custom Post Types
- Can a taxonomy of a custom post type be called ‘category’?
- Get a custom post type’s taxonomy type term names displayed as checkboxes and filter
- How to get taxonomy category in permalink for each taxonomy OR How to give a parent page to a given taxonomy?