PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Custom Taxonomy sort

  1. I'm using custom taxonomies to populate the options in a drop down... Pulling the taxonomy members and their id numbers fine. I have "Enable Values" selected, and the id's are lining up nicely in the value field. But it is sorting the list alphabetically by name... I'd much prefer it put the options in the drop down sorted by their id. Is this possible?

    Posted 12 years ago on Tuesday April 17, 2012 | Permalink
  2. David Peralty

    There are no built-in sort options other than the default, but through the use of hooks you could make this change. Take a look at http://www.gravityhelp.com/documentation/page/Gform_pre_render and with some PHP you could pull your data in, and sort it by ID before displaying.

    Posted 12 years ago on Wednesday April 18, 2012 | Permalink
  3. I found http://www.nsp-code.com/ has a plugin called Category Order and Taxonomy Terms Order Which is in the wordpress plugins repository. All I did was install and activate, no actual settings, and it defaulted all my taxonomies to id order. You can rearrange custom orders, but this was all I needed. No conflicts so far.

    Posted 12 years ago on Friday April 20, 2012 | Permalink
  4. David Peralty

    Glad to hear it. :) I remember there used to be lots of plugins for re-arranging categories, but I didn't know there was the same for taxonomies.

    Posted 12 years ago on Friday April 20, 2012 | Permalink

This topic has been resolved and has been closed to new replies.