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'm trying to list child categories in a sidebar, but also hide the parent cat.

I'm using this at the moment:

<?php wp_list_categories('orderby=id&show_count=0&use_desc_for_title=0&child_of=5'); ?>

This has a unfortunate effect of displaying 'Categories' above the list. Is there any way to get rid of this?


share|improve this question

You need to add &title_li= to your code like so to remove the word "Categories":

<?php wp_list_categories('orderby=id&show_count=0&use_desc_for_title=0&child_of=5&title_li='); ?>

More information on categories can be found in the codex here: http://codex.wordpress.org/Template_Tags/wp_list_categories

share|improve this answer
Hat's off to You, Madam. This did the trick. BTW, I looked at the codex but couldn't exactly that. – user2294 Jan 7 '11 at 5:31

Your Answer


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