https://github.com/stuttter/wp-term-order
Sort taxonomy terms, your way
https://github.com/stuttter/wp-term-order
meta orders terms wordpress
Last synced: about 2 months ago
JSON representation
Sort taxonomy terms, your way
- Host: GitHub
- URL: https://github.com/stuttter/wp-term-order
- Owner: stuttter
- License: gpl-2.0
- Created: 2015-08-10T21:22:35.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-03-10T21:38:58.000Z (over 1 year ago)
- Last Synced: 2025-05-07T04:38:03.239Z (5 months ago)
- Topics: meta, orders, terms, wordpress
- Language: PHP
- Homepage: https://wordpress.org/plugins/wp-term-order/
- Size: 1.45 MB
- Stars: 96
- Watchers: 3
- Forks: 24
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WP Term Order
Sort taxonomy terms, your way.
WP Term Order allows users to order any visible category, tag, or taxonomy term numerically, providing a customized order for their taxonomy terms.
# Installation
* Download and install using the built in WordPress plugin installer.
* Activate in the "Plugins" area of your admin by clicking the "Activate" link.
* No further setup or configuration is necessary.# Demo

# FAQ
### Does this create new database tables?
No. There are no new database tables with this plugin.
### Does this modify existing database tables?
Yes. The `wp_term_taxonomy` table is altered, and an `order` column is added.
### Can I query and sort by `order`?
Yes. Use it like:
```
$terms = get_terms( array(
'taxonomy' => 'category',
'depth' => 1,
'number' => 100,
'parent' => 0,
'orderby' => 'order', // <--- Looky looky!
'order' => 'ASC',
'hide_empty' => false,// Try the "wp-term-meta" plugin!
'meta_query' => array( array(
'key' => 'term_thumbnail'
) )
) );
```### Where can I get support?
The WordPress support forums: https://wordpress.org/support/plugin/wp-term-order/
### Can I contribute?
Yes, please! The number of users needing more robust taxonomy term ordering is growing fast. Having an easy-to-use UI and powerful set of functions is critical to managing complex WordPress installations. If this is your thing, please help us out!