WordPress.org

Forums

Category Count + Alpha Sort (3 posts)

  1. skebrown
    Member
    Posted 10 years ago #

    I learned here:
    http://wordpress.org/support/index.php?action=vthread&forum=3&topic=8687&page=0
    how to use the <?php wp_list_cats('optioncount=1'); ?> to display category counts beside my categories. However, I am also wanting to display the cats in alphabetical order.
    How would I do this?

  2. pezastic
    Member
    Posted 10 years ago #

  3. benramsey
    Member
    Posted 10 years ago #

    I use <?php list_cats(); ?> instead of wp_list_cats(), as described here: http://wordpress.org/docs/template/#category
    That link has some parameters you can pass to list_cats(). Read through it; it should help you out.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.