WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] List Categories By Post Count (4 posts)

  1. scottbothel
    Member
    Posted 3 years ago #

    I'd love to generate an unordered/linked list of categories (ala wp_list_categories) that orders by post count. Meaning the category containing the most posts displays first. I would use this to display 4 or 5 most populated categories.
    Just don't know enough php to make it happen. Anyone invented this wheel before?

  2. esmi
    Forum Moderator
    Posted 3 years ago #

  3. scottbothel
    Member
    Posted 3 years ago #

    Awww geez. Now I feel stupid. I was looking at order instead of orderby.

    Thanks esmi.

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    We all have days like that. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic