WordPress.org

Ready to get started?Download WordPress

Forums

Category Dropdown (3 posts)

  1. philgreen
    Member
    Posted 5 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):

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

    and the code in my sidebar is:

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

  2. philgreen
    Member
    Posted 5 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
    Member
    Posted 4 years ago #

    Hi Phil,

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

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.