Title: questions about category template and parent/child categories
Last modified: August 19, 2016

---

# questions about category template and parent/child categories

 *  Resolved [csleh](https://wordpress.org/support/users/csleh/)
 * (@csleh)
 * [17 years ago](https://wordpress.org/support/topic/quick-category-template-question/)
 * If a post has more than one category, I believe the first category shows. What
   if the categories are subcategories?
 * For example:
 * – fruit main category
    – oranges sub category – apples sub category – red apples
   sub category – macintosh sub category – gala sub category – green apples sub 
   category – granny smith
 * If I have a category template for fruit, would a post in the category “gala” 
   show when listing all posts?
 * If I have a category template for red apples, can I show the apples parent category,
   the green apples sibling category (as links) along with the macintosh and gala
   subcategories?
 * Should the post only be in one category — for instance only in “granny smith”
   but not “fruit”?
 * The deeper this site gets the more confused I get. THanks!

Viewing 1 replies (of 1 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years ago](https://wordpress.org/support/topic/quick-category-template-question/#post-1078689)
 * > If I have a category template for fruit, would a post in the category “gala”
   > show when listing all posts?
 * Not sure what your are asking, especially with ‘all posts’, but I believe yes
   is the answer. Easy enough to test–just use the WordPress Default Theme and click
   on a parent category to see the results.
 * > If I have a category template for red apples, can I show the apples parent 
   > category, the green apples sibling category (as links) along with the macintosh
   > and gala subcategories?
 * Child categories don’t ‘inherit’ the template used for parent categories. You
   might want to look at this plugin:
    [http://wordpress.org/extend/plugins/elevate-parent-category-template/](http://wordpress.org/extend/plugins/elevate-parent-category-template/)
 * > Should the post only be in one category — for instance only in “granny smith”
   > but not “fruit”?
 * Only the last descendant should be assigned a post in a particular hierarchy.

Viewing 1 replies (of 1 total)

The topic ‘questions about category template and parent/child categories’ is closed
to new replies.

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [category template](https://wordpress.org/support/topic-tag/category-template/)
 * [Sub-Category](https://wordpress.org/support/topic-tag/sub-category/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [17 years ago](https://wordpress.org/support/topic/quick-category-template-question/#post-1078689)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
