WordPress.org

Ready to get started?Download WordPress

Forums

sort_column (3 posts)

  1. sleepytalk
    Member
    Posted 7 years ago #

    The documentation at http://codex.wordpress.org/Template_Tags/list_cats states that I can only sort categories by ID or name. What I'd like to do is sort by number of posts in the category (optioncount). I'm obviously a PHP novice, so any help would be appreciated. Thanks!

  2. moshu
    Member
    Posted 7 years ago #

    Obviously, you can't. Unless you write your own code, function, plugin.

  3. japanitrat
    Member
    Posted 7 years ago #

    i just thought about it with a simple solution.
    http://wordpress.org/support/topic/16746?replies=12#post-472239
    and maybe somebody could my little question there, too ;)

Topic Closed

This topic has been closed to new replies.

About this Topic