Simply use taxonomy-{taxonomy}.php
.
Refer to the Template Hierarchy Codex entry regarding taxonomies.
WordPress will look for taxonomy template files in the following order:
taxonomy-{taxonomy}-{term}.php
– If the taxonomy weresometax
, and taxonomy’s slug weresometerm
WordPress would look fortaxonomy-sometax-someterm.php
.taxonomy-{taxonomy}.php
– If the taxonomy weresometax
, WordPress would look fortaxonomy-sometax.php
taxonomy.php
archive.php
index.php
EDIT
If you’re already using taxonomy-{taxonomy}.php
for something other than the index archive for {taxonomy}
, perhaps you should re-consider your current use of this template file?
Related Posts:
- Returning One custom taxonomy term name
- How to use custom slug and custom templates for custom taxonomy?
- How to get a terms and posts associated with another term?
- get_posts assigned to a specific custom taxonomy term, and not the term’s children
- How can I get only parent terms?
- Retrieve posts by term id custom query
- How to prevent new terms being added to a custom taxonomy?
- Query users by custom taxonomy and user role
- Order terms by term_order
- Get value in custom field with taxonomy [closed]
- Get second level terms of custom taxonomy
- Large taxonomy (2000+ terms), causing WordPress to hang
- Is there a way to disable a term rather than deleting it?
- Modify Term Update Redirection
- Best pratice to make taxonomy terms translatable without changing slugs?
- Check if current term is a child of another term
- Is there a way to import terms into WordPress?
- get_terms() doesn’t return empty terms even though hide_empty is false
- How to use wp_terms_checklist() on front end
- Get taxonomy name of current post
- Custom taxonomies, with custom rewrites/slug, AND loading a taxonomy archive template from a plugin
- wp_insert_term auto unique name
- How can I set up a category “overview” page?
- Non-hierarchical custom taxonomy using checkboxes on edit-screen -> saving issue
- show term description instead of list terms of custom taxonomy
- Looping Through Custom Tax Terms and Displaying All Posts For Each
- How to get the top most term (top ancestor) of a custom taxonomy child term?
- Display Custom Taxonomy Terns ordered by meta_value
- get_the_term_list without specific category
- Listing child terms of parent term
- Display the taxonomy name of the current term
- Automatically assign taxonomy term if custom meta value exists
- Display the Terms from a Custom Taxonomy Assigned to a Post(inside the loop) in Hierarchial Order
- Edit post meta with checkboxes on front end
- Dynamically tax_query terms
- get_the_terms() to show all custom taxonomies
- Custom Taxonomy Archive BUG
- Can I limit term selection to one plus parent?
- Insert form checkbox at bottom of taxonomy edit term page
- Exclude Taxonomy Terms from Template Via Back End?
- how does get_term_by know which term to return when the same term appears twice in a hierarchical taxonomy?
- Changing stylesheet depending on custom taxonomy terms
- Why is my taxonomy template not shown?
- Taxonomy archive showing no results
- Print terms with taxonomy and metabox value
- How Can I Change a Taxonomy URL Based On The Originating URL?
- Create and set templates for custom taxonomies
- Changing taxonomy term by slug (wp_update_term)
- Pagination on custom taxonomy
- How to have two different versions of a tag/category/taxonomy archive page?
- Custom Taxonomy Term Caching?
- How do I create a custom archive page depending on the custom taxonomy type?
- How to show all possible parents and children of a hierarchical taxonomy term?
- Failure to add term meta
- Hierarchical Taxonomy Terms Select Menu Output with selected=”selected” Set
- List related terms + taxonomies
- Search Query for Multiple Terms In Same Taxonomy
- Weekdays as terms – How to order taxonomy terms by ID in admin panel?
- How to find taxonomy parent id from child taxonomy page?
- Set term on an attachment using wp_set_object_terms and want to display the full term text but it’s showing a slug instead
- Why does wp_remove_object_terms not work?
- wp_dropdown_categories – how to save in widget?
- how to get term id from current post type instead of name
- echo a specific custom taxonomy term on a different custom taxonomy archive
- Display children category images
- How to show post for a particular term of custom taxonomy?
- How to get this value inside RETURN
- Hide echo of no categories from get_object_taxonomies
- Custom Taxonomy List with Children
- How to get the term description in a taxonomy term archive query?
- How to list terms by first letter, as in A’s then B’s etc
- Taxonomy archive uses incorrect template when query strings are used
- Cloning product not copying custom taxonomies
- Create new Taxonomy, add extra fields, register terms AND extra fields values?
- get parent and childs from hierarchcial taxonomy
- How to change custom categories term links?
- Get Highest and Lowest get_term_meta() value from Taxonomy Term
- Displaying subcategories and then posts in taxonomy template
- Custom taxonomy archive template not recognised
- Resize $term attachment using url
- Product dimensions filter by taxonomy
- How can I pull the slug of a custom taxonomy and output it in a class?
- Custom order of taxonomy using wp_get_object_terms and woocommerce_term_meta
- switch statement for taxonomy content
- List terms and order by second word
- Display taxonomy term slugs
- Tax query array terms display out of order
- How To Display Selected Terms For Custom Taxonomy?
- Adding a query var to taxonomy term archive – gets redirected to the other taxonomy archive page
- displaying links if term is used
- How to include child terms within parent?
- How to update WordPress custom SQL Select query for custom taxonomies so that syntax is correct?
- Display term description on hover using get_the_term_list
- stdClass::$labels /wp-includes/general-template.php undefined
- $term->taxonomy stripping out underscores
- Display woocommerce product_cat child terms with thumbnails
- List posts grouped by children of a custom taxonomy
- is_tax not working for custom taxonomy
- How to delete unused terms?
- Foreach for get_the_terms for hierarchical taxonomy don’t repeat Top Level Terms if contains multiple Second Level Terms