Title: Taxonomy Priority
Last modified: August 20, 2016

---

# Taxonomy Priority

 *  [mtulett](https://wordpress.org/support/users/mtulett/)
 * (@mtulett)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/taxonomy-priority/)
 * Hi,
 * I have several different taxonomies and a search form that lets users find the
   item they are looking for through a combination of taxonomy searches.
 * For example you might want to find a car by a certain manufacturer and a certain
   colour (sorry I’m a Brit!) but when I get the results back I want to display 
   them with the template I have for manufacturer rather than colour, however it
   keeps going to the colour taxonomy template and I cannot figure out a way to 
   force it to use the manufacturer taxonomy template.
 * Any suggestions?
 * Many thanks, Matt

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/taxonomy-priority/#post-3277085)
 * If you always want to use the manufacturer template in place of colour, you could
   just copy the manufacturer template and give it the colour template name.
 * Otherwise, to selectively use the manufacturer template, hook the “{$type}_template”
   filter. In your case, this should resolve to ‘colour_template’. Code in the needed
   logic to return the manufacturer template filename for the correct situation,
   otherwise return the name passed to your function, the colour template name.

Viewing 1 replies (of 1 total)

The topic ‘Taxonomy Priority’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/taxonomy-priority/#post-3277085)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
