I’m not sure what you mean about sub-taxonomies. Are you referring to the actual term? If so you could use the following to template it:
taxonomy-$taxonomy-$term.php
An example of this would be if I had a taxonomy called genres and a term called horror, I could then template this as:
taxonomy-genres-horror.php
Refer to the template hierarchy for more:
https://developer.wordpress.org/themes/template-files-section/taxonomy-templates/
Related Posts:
- Rewriting a custom-post-type permalink with taxonomy term?
- Taxonomy: Why ‘with_front’ => false DOES NOT WORK?
- Any way to make posts inherit properties/taxonomies through a single assigned taxonomy
- Custom post type taxonomies URL rewrite
- Linking between custom post types as if they where taxonomies?
- Custom query – alternate posts by category
- Glossary with Custom Post Type
- Need help with complex custom post type setup
- Automatically assign a custom post to a custom taxonomy based on custom field value
- Randomly placed sticky custom posts complemented by blog posts
- Remove taxonomy slug when not assigning taxonomy with custom post types
- How i add new link after Edit | Quick Edit | Trash | View in quick edit section
- Use the_taxonomies() to create a simple list
- Custom taxonomy template not working with simple loop. Multiple CPT using the same taxonomy
- How loop through posts based on custom fields
- Listing taxonomies from custom post type
- Hierarchical Custom Post Types or Similar
- Custom Taxonomy Hierarchy for Custom Post Types (eg Categories and Subcategories)
- Output the content of a term organised by each of the CPT?
- How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- Generate Shortcodes by Taxonomy
- How to create an advanced filter search?
- What is the use of a custom taxonomy?
- Is there a way to connect a custom post type to another custom post type’s taxonomy? (specific to locations)
- Pagination : How to remove /page/x/ after a ‘POST’ action on a form returning to page 1
- I have 2 post types i need to show the post type contents in 2 select boxes [closed]
- How to save custom taxonomy from front end post submission
- wp_query check if integer exists in custom field’s array
- Showing the custom taxonomy parent term and child term of a post
- Template for custom post with custom taxonomy
- How can I set taxonomy programmatically
- Return the latest post from a custom Taxonomy and Post Type
- Don’t know how to show custom taxonomies from a custom post_type
- list taxonomies from a custom post type
- WordPress custom taxonomy, posts urls
- WordPress loop: Show only a Custom Post Type Taxononmy TERM
- Import data from CSV with custom taxomony empty
- Custom Post Type Loop with Query Var
- Full Custom Post Type List Organised by two Taxonomies
- URL rewriting for CTP assigned entity
- Template for all categories of a custom post type?
- How to group posts and get a mixed posts and groups view?
- Post format alternative?
- dropdowboxes with pre-selected custom fields optios that filters the results according seach needs
- in_category for custom post types
- Control content before and after custom post type loop
- Listing all slugs?
- post_type_link Filter – Too Few Arguments
- Custom Post Type not showing in main loop
- My custom taxonomy is only displaying 1 of 3 terms
- Show categories of custom post type and not all posts
- How to list custom post types on a custom post type page?
- Custom post type categories gives 404 error
- Using WP_Query, I want to show posts that are associated with a custom taxonomy term
- Query Posts that have Custom Taxonomy
- Custom Taxonomy Terms in Menu lead to which page?
- Multiple archives to display parent and subcategories content
- Foreach loop returning more than one item when querying taxonomy
- Compare Two Custom Post Types Using The Same Custom Taxonomy
- How to List Custom Post Type Titles Based on Theirs Taxonomy Terms Inside a Nested Loop
- Most viewed post of custom post type
- Custom taxonomy and post type rewrite rules
- Custom post type page with parameter
- “Menu order” being ignored when querying posts from a parent taxonomy with “include_children” set to true
- How can I loop at a Specific Taxonomy from a custom post type?
- Display custom post type taxonomy in a WordPress excerpt for current post
- How do I Create Single template for custom post type with a custom URL?
- Tags being removed upon updates to related posts: ACF/Genesis/WP5.4.1
- How can I write slugs / permalinks as: custom post type -> custom taxonomy and custom post type -> custom taxonomy (one CPT and many taxo)?
- pagination problem listing custom post types of taxonomy in wordpress
- Display CPT taxonomies as an archive page
- Show posts from custom post type sorted by category/taxonomy on a one-pager/page
- How to manage a dynamic multi-level page hierearchy system?
- Categories manage
- Templates for CPT not working
- Register post type getting error 404
- Which File Populating CPTs in Slug URL
- Add tags to a “pending” post before publishing
- What am I doing wrong with my taxonomy?
- Help with Multi Level Category Archive Page
- CPT url rewriting : regular posts return 404 error
- Getting a 404 on single custom post type page when using rewrite on a custom taxonomy
- One custom post type with two different url structure base on taxonomy term
- wp_query: How to retrieve current term slug in custom taxonomy?
- tax_query showing no results
- Display posts from category in page
- taxonomy terms array not working
- Custom Loop for custom post type. Compare by meta_value?
- get tags from custom post type
- Permalinks Works for Custompost type but not with pages Why?
- Highlight specific menu item when custom post is page
- Attaching multiple custom taxonomies to one CPT?
- Output assigned custom taxonomy to custom post type
- wp_dropdown_categories() searching is not working with CPT, please review my code
- Custom Field Search
- WP Query Conditionally query meta and taxonomy
- Custom Taxonomy rewrite rule working for everything other than singles
- Admin user get message higher level of permission to edit taxonomy
- Have Custom Taxonomy Slug Fall Under Custom Post Type Slug
- Adding Taxonomies to Custom Post Type Without Displaying Blog Post Categories