• I have tried for the past few hours to figure out how to have my categories show up in alphabetical order instead of chronological order. I’ve read through lots of documentation and posts here, but can’t get it to work.

    I have my blog hosted with Yahoo! and am running 2.0.2 according to my site at https://www.MedinaReport.com

    Ideally I’d like to have the categories show up in alphabetical order but also have the number of posts displayed as well which is what I was trying to do below.

      <?php wp_list_categories(‘orderby=name&show_count=1’); ?>

    Thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    That’s because you’re using WP 2.0.11 (or 2.0.2). wp_list_categories wasn’t introduced until WP 2.1

    If upgrading is out of the picture (yes, I advocate it for security reasons), you’re stuck with wp_list_cats and list_cats. At a guess, try this:
    wp_list_cats('sort_column=name');

    Thread Starter jfmurphy6

    (@jfmurphy6)

    Thank you Ipstenu. I did not mark my WordPress version correctly. I do have 2.0.2 which is served up by Yahoo. I just tried your fix but that didn’t do it either. Thanks for trying to help me out.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You’d have to try list_cats, then.

    See List_Cats and wp_list_cats, but FYI, you’re using a way old version of WP.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to put Categories in alphabetical order’ is closed to new replies.