WordPress.org

Forums

Category List (3 posts)

  1. Nofie
    Member
    Posted 10 years ago #

    Is it possible to make the category list appear as:

    • Category 1, Short description about category 1 bla bla bla, 45 posts.
    • Category 2, Short description about category 2 bla bla bla, 34 posts.

    Any comments will be appreciated so much.
    Thanks.

  2. kappaluppa
    Member
    Posted 9 years ago #

    I'm looking for the same thing. Any luck anyone?

  3. snaerff
    Member
    Posted 9 years ago #

    <?php wp_list_cats; ?> is what you need. More info on the codex.

    I use <?php wp_list_cats('sort_column=name&optioncount=1'); ?> to list all categories with the number of posts. Just add in the other parameter variables from the Codex and you'll be sweet.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.