For custom post types with custom taxonomy you can make a template for that taxonomy. Your custom taxonomy template would be named taxonomy-{taxonomy}.php
. For example, if your taxonomy was called “cooking-categories” you would name your file taxonomy-cooking-categories.php
.
More information on template files for special taxonomy archives can be found in the codex here: http://codex.wordpress.org/Template_Hierarchy#Custom_Taxonomies_display
Related Posts:
- Setting Default Category for Custom Post Type Upon Autosave
- Creating “static” taxonomies to choose from, inside custom post type?
- Restrict categories to a custom post type
- Weird problem happening with custom taxonmy when creating/updating posts
- Group posts by custom post type
- Hide parent categories when clicked, and show it’s childs
- Categorise Custom Post Types
- How can I have different content for different countries?
- How to get the current category with custom posts
- Displaying One Custom Post Type’s Content On Single Post of Another Custom Post Type
- Get terms for a specfic post from multiple taxonomies in custom post type
- cannot achieve this structure (custom posts VS categories VS ??)
- Multiple categories assigned to a single product breaking the breadcrumb
- Set a Default CPT taxonomy by taxonomy id
- Automatic Set Category For A Custom Post Type
- Help with Travel Guide Setup
- Display all post types together
- Using get_terms() as shortcode attribute
- Restrict custom post type to only site administrator role
- How to force one column layout on custom post type edit page?
- How to Remove Certain Screen Options and Table Columns from post type in wp_list_table?
- How does one delete orphan custom post type?
- Localization For Two Different Regions/Domains with the Same Language
- Add comments meta fields to comments metabox on post edit screen
- Regex problem in an add_rewrite_rule
- On clicking on the category name the page is redirecting on 404 pge
- Hook onto Add New Category
- Custom Post Type by user
- Interesting Custom Post Type Slug with Taxonomy and Custom Field
- Custom edit post column – category not showing
- Custom Post Type post ordering not working
- get_categories for custom post type and filter by custom taxonomy (brand) and list child categories of a defined category
- How do you output custom code between posts in the loop?
- WP 3.1 getting tax_query to work in query_posts()
- wp_get_nav_menu_items wp-admin/customize.php problem
- Get a permalink structure of /%posttype%/%category%/%postname%
- Assigning the same custom meta box to multiple post types
- Should I use custom menu, C.P.T. or theme options, or something else for this?
- Show custom post type filtered by category
- Meta query for custom post type ignored in main query
- How do I move/order posts with a tag to the end?
- Use same slug base for Custom Post Type posts, and multiple taxonomy terms
- Custom Path/Folder behind a custom post type
- WP Query with categories only shows one post and ignores the category
- Custom Post Type + Categories
- Hierarchy and access control for Custom Post Types (CPT)
- Loop filtering Custom Post Types and/or Categories
- How do i search authors from search form using author’s name
- Conditional statement for if archive page has posts which contain certain taxonomies/categories/tags, show those terms
- How can I show 1 featured post in a styled element, and the next few below differently styled
- How can I list Custom Post Types created with the Types plugin under categories?
- How to add current custom taxonomy slug to body class
- Meta data (Tags and Categories) for Custom Posts not showing.
- Custom post types with categories in template
- Get assigned post categories
- Default Category Page not showing custom post type which has taxonomy category
- Post Query not working
- Create custom WP_List_Table in post_type
- Category Name with Custom Post Type
- CMB select with data from CPT
- 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?
- Problem with customize page cached in WordPress.com [closed]
- Custom front-end form for adding post – Category problem
- Adding a location field to buddypress activity
- Custom Post Type Category Displaying ALL Sub Categories as well
- Control over custom post types on a specific page
- How can I assign multiple parents to CPT?
- Feature image Gallery made from Custom Post type + Categories
- Get meta values from parent post and save in child post
- Getting 404 on child page with pre_get_posts() on custom posts
- Limit posts per page depending on the size of a div?
- save_post affect creation and deletion
- Set a static page as a user profile page?
- Problem to get the link of the default ‘post’ post type like the orther custom types
- How to display all custom fields associated with a post type – IN THE ADMIN AREA?
- How to keep a CPT stick to specific position?
- how to use two permalinks for one custom post type based on categories
- WP_Query for CPT with filter by another WP_Query
- Custom Catagory not found
- Page to show custom posts and one category
- How can I list custom post by custom category?
- how to show perticular category posts in custome page
- Problems with a custom meta_box
- Use only selected regular categories for a Custom post form
- Problem with menu categories doubling up when updating database?
- How to apply order on custom taxonomy and custom meta key on custom post type
- Remove slug from Custom Category Permalink + dual-category permalinks
- How to make a template for a specific post of a custom post type?
- How to query posts by category with the_title();
- Bulk update custom post types
- ACF select box css color change
- Can WordPress show posts based on a button that the user clicked 2 pages back?
- cannot export data from CPT UI (books)
- REQUIRED: The theme uses the register_post_type() function, which is plugin-territory
- display posts, pages and custom post types from another wordpress site
- Is it possible for post and custom post type to share a category base slug?
- How to develop Knowledge center in WordPress Website