I would like to know if it is possible in WordPress admin to show categories in post-new.php
and edit-tags.php?taxonomy=category
sorted by id NOT by category name.
Leave a Reply
You must be logged in to post a comment.
I would like to know if it is possible in WordPress admin to show categories in post-new.php
and edit-tags.php?taxonomy=category
sorted by id NOT by category name.
You must be logged in to post a comment.
The following should work…
It preserves the order of subcategories (i.e. children always appear below their parents regarldless if order is set to ASC/DESC).
This could be adapted for custom taxonomies, you would simply need to chhange the
$screen->ID
and$taxonomy
checks.