Support » Plugins and Hacks » Reverse order of custom taxonomy

Reverse order of custom taxonomy

  • I have a custom category taxonomy called “Year” which (currently) ranges from 1863-2012. I use the more recent dates more often than the older dates, so I’d like the meta box on the edit posts page to be in reverse order (DESC instead of ASC). Is there a simple way I can do this without seriously hacking the core?

    While it’s possible to remove the meta box and add a new custom one, I’m hoping for something simpler/more elegant, like a filter on wp_terms_checklist or post_categories_meta_box or something.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you ever get an answer on this? I’m looking for something similar, a filter on wp_terms_checklist so that I can override the checked_ontop and make it false instead of true. I have custom taxonomies for posttype “categories” and need these to stay in their hierarchy on save.

    I did not. I ended up writing some Javascript to reverse the order.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Reverse order of custom taxonomy’ is closed to new replies.