how to order custom taxonomy's categories?
-
Hello,
I’ve created my custom taxonomy via functions.php site like this:
register_taxonomy("food_kind", array("foods"), array( 'hierarchical' => true, 'label' => 'Food kinds', 'singular_label' => 'Food kind, 'rewrite' => true ));
and now, when I fill data (for example: Pizza, Pasta, Meat, …); I want to display them in my template but following my own (custom) order, not in alphabetical order or even by ID. For example I want Pizza first, then Meat, then Pasta and so on.
Is this possible? Thanks for replies 🙂
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘how to order custom taxonomy's categories?’ is closed to new replies.