WordPress.org

Ready to get started?Download WordPress

Forums

Query Multiple Taxonomies
[resolved] Ability to Order Widget Dropdowns (3 posts)

  1. aspirelondon
    Member
    Posted 3 years ago #

    Just wondering if there is a way to sort the taxonomy dropdowns by id instead of by name? I have read through the posts here, and the only person who seemed able did it by manually writing the <options> in?
    Either way thanks for the work on the plugin itself, its pretty damn awesome!

  2. scribu
    Member
    Plugin Author

    Posted 3 years ago #

    Please help me understand why would you want to order by id.

  3. aspirelondon
    Member
    Posted 3 years ago #

    Reason I wanted the option is I am using a set of categories to assign salaries to job vacancies. The vacancies are custom posts and the categories are salaries I need to be able to order from lowest to highest, but the client wanted them to start with the £ symbol. And the first one is Up to £20K. Anyhow, I figured it out already, I tweaked the plugin to filter by taxonomy name and change the output to order by Id. Not tidy but it works.
    Cheers for the swift reply anyway.
    a

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic