WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've created a custom taxonomy called 'productCategories' using register_taxonomy() function. I've set the rewrite slug to 'products'.

My question is: How do I render a different template to archive.php for my custom taxonomy /products ?

Thanks, Jon

share|improve this question
up vote 1 down vote accepted

Create a template file called taxonomy-productCategories.php. For more information, see the Template Hierarchy. I find this image particularly helpful.

share|improve this answer
Thanks Adam. Sorted. – Jon Sep 1 '10 at 14:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.