
Simple Taxonomy Ordering
v2.3.4Evan Herman · 2015年12月14日 上架
Quickly and easily reorder taxonomy terms with an easy to use and intuitive drag and drop interface.
- 正在使用
- 1 万+
- 评分
- 4.9 / 5
- 累计下载
- 40 万
- 最近更新
- 2023年3月22日
28 条评价需要 WordPress 4.4+已测试到 6.2.16
截图
Order all of the taxonomy terms on your site with a simple to use, intuitive drag and drop interface. The plugin works for WordPress core taxonomies — Categories and Tags — and any custom taxonomies you have created.
Activate the plugin, enable your taxonomy on the settings page, and drag and drop the taxonomies into the desired position. It couldn’t be easier.
On the front end of the site your taxonomy terms will display in the order set in the dashboard.
Requires WordPress 4.4 or later due to the use of the term meta.
Query Usage
- If you’re trying to query for taxonomy terms (e.g. using
WP_Queryor functions likeget_terms()), and you’d like them to be returned in the order specified by the plugin, you need to add the tax_position parameter in your call. For example:'meta_key' => 'tax_position'and'orderby' => 'tax_position'. Thanks to @certainlyakey on GitHub for pointing this out.
