Title: Sub Category error
Last modified: August 20, 2016

---

# Sub Category error

 *  Resolved [truongle1982](https://wordpress.org/support/users/truongle1982/)
 * (@truongle1982)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/sub-category-error/)
 * I just installed WordPress 3.4.1 on my local server and on my website
 * What is strange is that when I add a child category on my local server wordpress
   adds <ul class=’children’> to the html, but when I add a child category on my
   local server wordpress does NOT <ul class=’children’> to the html.
 * **Localhost:**
    Category A ___Category A1 ___Category A2 …..
 * **My Website:**
    Category A Category A1 Category A2 …..
 * How come? And how do I fix this problem? I just made a new theme and child categories
   does not show as child when I upload it to my website 🙁
 * Thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [kevindng](https://wordpress.org/support/users/kevindng/)
 * (@kevindng)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/sub-category-error/#post-2910395)
 * Check “show hierarchy” at category widget option.
 *  Thread Starter [truongle1982](https://wordpress.org/support/users/truongle1982/)
 * (@truongle1982)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/sub-category-error/#post-2910435)
 * Finish! Thank kevingdng so much…

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sub Category error’ is closed to new replies.

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)

 * 2 replies
 * 2 participants
 * Last reply from: [truongle1982](https://wordpress.org/support/users/truongle1982/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/sub-category-error/#post-2910435)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
