WordPress.org

Ready to get started?Download WordPress

Forums

How to list categories A-Z ? (3 posts)

  1. webtodd
    Member
    Posted 8 years ago #

    My categories are currently randomly listed, how can I list them in alphabetical A-Z format?

  2. Chris_K
    Member
    Posted 8 years ago #

    Your theme is likely using wp_list_cats to display the category list.

    If you follow that link and scroll down a bit, you'll find some sort options that you could use. You'd edit your theme to make the change (typically it is in sidebar.php).

  3. webtodd
    Member
    Posted 8 years ago #

    thanks. this worked for me:

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags