WordPress.org

Support

Support » How-To and Troubleshooting » Category Dropdown

Category Dropdown

  • I am using wordpress here at work and have two problems with category dropdowns.

    1. I want the dropdown to sort the categories by number of posts within the category, which I can’t seem to figure out how to do. right now they’re ordered by order in which they were modified.

    2. The category dropdown doesn’t send me anywhere when I use it. I can’t figure it out (it’s on the right side of the page):

    http://www.nextadvisor.com/blog/

    and the code in my sidebar is:

    <?php wp_dropdown_categories(‘orderby=modified&order=DESC&show_count=0’); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • I figured this out, nevermind. I’d forgotten to put the javascript, I thought the php code would call up some script.

    grinneller

    @grinneller

    Hi Phil,

    Do you mind posting what you did for those of us looking for an answer?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Category Dropdown’ is closed to new replies.