Title: Category problem
Last modified: August 19, 2016

---

# Category problem

 *  [prb81](https://wordpress.org/support/users/prb81/)
 * (@prb81)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/category-problem-8/)
 * Hi. I am running two separate sites but with the exact same template and layout
   yet I have an issue between the two with categories.
 * On one if I file something under a ‘child’ category it also gets counted against
   the ‘parent’ category. ie. If parent reads ‘Category (3)’ and I submit a post
   under the child category ‘Help’ it counts (1) onto the Help category but also
   changes the ‘Category’ to (4) without it actually being checked.
 * This is what I want, but yet on my other site when I do the same thing it adds
   the post to both child and parent categories but does not update the count on
   the parent category.
 * Anyone know what this might be?

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

 *  Thread Starter [prb81](https://wordpress.org/support/users/prb81/)
 * (@prb81)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/category-problem-8/#post-1268734)
 * Also I just noticed that when I put the following code into my categories info
   on the sidebar in order to list only parent categories I still lists the child
   categories anyway.
 * `depth=1`
 * Anyone know why it still does this? Is there some kind of flaw or bug that is
   causing this and the above problems with that site?
 *  Thread Starter [prb81](https://wordpress.org/support/users/prb81/)
 * (@prb81)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/category-problem-8/#post-1268805)
 * Anyone have any clue what this problem could be?
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/category-problem-8/#post-1268807)
 * Are you using a Widget or the [template tag](http://codex.wordpress.org/Template_Tags),
   [wp_list_categories()](http://codex.wordpress.org/Template_Tags/wp_list_categories),
   to display your categories on both blogs?
 *  Thread Starter [prb81](https://wordpress.org/support/users/prb81/)
 * (@prb81)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/category-problem-8/#post-1268837)
 * I’m using the wp_list_Categories() to display categories on both blogs. No widgets.
   Can’t figure out how it works OK on one, but not the other. The coding is the
   same for both and both are on the same version.
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/category-problem-8/#post-1268848)
 * Both blogs have same plugins activated?
 *  Thread Starter [prb81](https://wordpress.org/support/users/prb81/)
 * (@prb81)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/category-problem-8/#post-1268853)
 * Yep, only 1 plugin active and it is the same one for both blogs.
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/category-problem-8/#post-1268868)
 * Weird especially if use the same exact code for wp_list_categories. Makes me 
   think the **pad_counts** argument is getting set differently.
 * Might try adding **pad_counts=1** to that ‘non-working’ wp_list_categories.
 *  Thread Starter [prb81](https://wordpress.org/support/users/prb81/)
 * (@prb81)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/category-problem-8/#post-1268903)
 * That didn’t work but I copied the exact code from the working blog on the sidebar
   and pasted it into the sidebar of the non-working site and it appears to have
   fixed the issue. There must have been a little something, somewhere in the code
   messing it up.
 * I have an final question… In my archives where it lists all categories, there
   are bullet points in front of them. Is there anyway to remove these bullet points?
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/category-problem-8/#post-1268904)
 * [Styling_Lists_with_CSS](http://codex.wordpress.org/Styling_Lists_with_CSS)
 *  Thread Starter [prb81](https://wordpress.org/support/users/prb81/)
 * (@prb81)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/category-problem-8/#post-1268906)
 * Without looking over the page in detail (on my lunch break in work, limited time!!)
   It seems there are option of ul, ol and li – is there an option that puts nothing
   in front of the categories in the archive list… Both ul and li leave bullet points,
   and ol leaves numbers?
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/category-problem-8/#post-1268910)
 * Yeah you want to look in detail…for example:
 *     ```
       #sidebar li {
          list-style: none;
       }
       ```
   
 *  Thread Starter [prb81](https://wordpress.org/support/users/prb81/)
 * (@prb81)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/category-problem-8/#post-1268914)
 * Ahh ok so basically for my archive page I’ll look for something similar then?
 * Thanks for all your help.

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

The topic ‘Category problem’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 2 participants
 * Last reply from: [prb81](https://wordpress.org/support/users/prb81/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/category-problem-8/#post-1268914)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
