WordPress.org

Ready to get started?Download WordPress

Forums

Reverse order of custom taxonomy (3 posts)

  1. Azuaron
    Member
    Posted 3 years ago #

    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.

  2. housebg
    Member
    Posted 2 years ago #

    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.

  3. Azuaron
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic