Title: Category template issue
Last modified: August 19, 2016

---

# Category template issue

 *  [imns](https://wordpress.org/support/users/imns/)
 * (@imns)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/category-template-issue-1/)
 * Hello,
 * I have a template category on my blog, with child categories, blue, red, green
   and so on under the template category.
 * I would like to create a category template that will be used whether you are 
   on the parent theme category or one of it’s child categories. I’ve tried using
   category-template.php, but that will not work for the child categories.
 * How should I go about achieving this? Is it possible with a custom categories
   template, a custom post type and custom taxonomy, or something else? I am open
   to suggestion, but what I don’t want to do is create a desperate template file
   for each on of my categories. I would like to keep it as DRY as possible.
 * Any suggestions or advice would appreciated.
 * Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [imns](https://wordpress.org/support/users/imns/)
 * (@imns)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/category-template-issue-1/#post-1603678)
 * bump

Viewing 1 replies (of 1 total)

The topic ‘Category template issue’ is closed to new replies.

## Tags

 * [category template](https://wordpress.org/support/topic-tag/category-template/)
 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [imns](https://wordpress.org/support/users/imns/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/category-template-issue-1/#post-1603678)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
