WordPress.org

Forums

Show all categories and post numbers (2 posts)

  1. phrozensilver
    Member
    Posted 8 years ago #

    I cant seem to find this but I want something where I can have a loop that posts all the blog categories in a list and with the number of posts in that category.

    ex
    Category (30)
    Misc (10)
    Site Info (12)

    something like that. I am looking for the php code for it or something that I could work with because I am not very good at php.

  2. Sivar
    Member
    Posted 8 years ago #

    You are looking for wp_list_categories.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags