If you need to have your categories listed in a specific order instead of the default alphabetical order then this extension is exactly what you need. When this extension is installed, it adds a simple input where you can enter the order number. The order number can be any positive number. The default is 0, which means no custom order. If you’re familiar with the “Order” field when creating WordPress pages then you know how this works because it works in the exact same way. Very simple and easy to use, requiring no special setup or configuration.
Checkout the screenshot showing the admin category table. The categories have been custom ordered. Notice the extension also adds a new column to the table so you can easily see the order that has been given to a category.
One feature I want to point out … notice in the screenshot that the top level categories have the order set as 1, 2 and 3. Now look at the order of the children categories, they have an order of 1, 2, 3, 4, 5 and 6. The order respects the parent/child relationship of the categories. If there are unordered categories, parent or child, they would follow after the ordered categories in the default alphabetical order.
= 1.1.1 01/15/2019 =
- TWEAK: Minor adjustment to ensure `10` comes after `9` instead of after `1`.
= 1.1 01/02/2019 =
- NEW: Add methods to support the WP REST API.
- TWEAK: Add several base plugin properties.
- TWEAK: Improve custom category order query.
- BUG: Correct `class_exists()` check.
- I18N: Add POT file.
- I18N: Register text domain so translations can be loaded.
- I18N: Correct text domain throughout.
- OTHER: Correct misspelling.
- OTHER: Update plugin header.
= 1.0.1 03/25/2015 =
- BUG: Term meta table was hard coded rather than using the term meta table constant.
- TWEAK: Ensure the quicksort is not applied more than once when querying entry/term relationships.
- TWEAK: When applying the custom order query clause, do it in DESC order rather than ASC order to pull NULL order values last in the query results.
- TWEAK: Reverse the order objects array before applying the quicksort to ensure the alpha order is properly maintained.
= 1.0 02/27/2015 =
- Initial Release