The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Category Dropdown (3 posts)

  1. philgreen
    Posted 7 years ago #

    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):


    and the code in my sidebar is:

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

  2. philgreen
    Posted 7 years ago #

    I figured this out, nevermind. I'd forgotten to put the javascript, I thought the php code would call up some script.

  3. grinneller
    Posted 6 years ago #

    Hi Phil,

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


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.