Support » Fixing WordPress » WP 2.04 – Categories in Alphabetical Order with Indented Children

  • Resolved orchidred

    (@orchidred)


    I can’t get the categories on my sidebar to be listed in alphabetical order according to parent. I want the list to look something like this:

    Parent A (# of posts)
    — Child (# of posts)
    — Child (# of posts)
    Parent B (# of posts)
    — Child (# of posts)
    — Child (# of posts)

    This is the code I’m using, what do I need to change?


    <?php wp_list_cats('optioncount=1 sort_column=name'); ?>

    Thank you for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP 2.04 – Categories in Alphabetical Order with Indented Children’ is closed to new replies.