Title: Reorder by Term
Author: Matt Cromwell
Published: <strong>2015 年 1 月 28 日</strong>
Last modified: 2026 年 9 月 25 日

---

搜索插件

![](https://ps.w.org/reorder-by-term/assets/banner-772x250.jpg?rev=1471168)

![](https://ps.w.org/reorder-by-term/assets/icon-256x256.png?rev=1471168)

# Reorder by Term

 作者：[Matt Cromwell](https://profiles.wordpress.org/webdevmattcrom/)

[下载](https://downloads.wordpress.org/plugin/reorder-by-term.1.3.1.zip)

 * [详情](https://cn.wordpress.org/plugins/reorder-by-term/#description)
 * [评价](https://cn.wordpress.org/plugins/reorder-by-term/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/reorder-by-term/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/reorder-by-term/#developers)

 [支持](https://wordpress.org/support/plugin/reorder-by-term/)

## 描述

We consider Reorder By Term a **developer tool**. If you do not know what `menu_order`
or custom queries are, then this plugin is likely not for you. This is an add-on
to [Reorder Posts](https://wordpress.org/plugins/metronet-reorder-posts/) and requires
[Reorder Posts 2.1.0 or greater](https://wordpress.org/plugins/metronet-reorder-posts/).

Out of the box, WordPress does not support the ability to reorder posts within a
term. There are other plugins out there that do term ordering, but they usually 
create custom tables (which require crazy custom queries and filters) and/or add
a column or two to core tables, which is not sustainable in the long-term should
WordPress core decide to update its schema.

Reorder by Term uses custom fields, which means you can reorder by term within each
taxonomy AND post type. This is insanely flexible.

Since WordPress doesn’t support this by default, when you install the plugin, you’ll
have to build the term data. For a lot of posts and terms, this can take a while,
but you can limit the build to post types and taxonomies if, for example, you don’t
want to touch regular blog posts (with categories and tags).

### 产品特点

 * Provides a convenient build-terms tool to add the term data to your existing 
   posts.
 * Automatically modifies/adds the term data when you save a post, change a term
   slug, or delete a term.
 * Reorder based on post type, taxonomy, and then term.
 * Uses custom fields to save data, so you can use [get_posts](https://codex.wordpress.org/Template_Tags/get_posts),
   [WP_Query](https://codex.wordpress.org/Class_Reference/WP_Query), or [pre_get_posts](https://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts)
   to order your query correctly.

### 口耳相传

If you like this plugin, please help spread the word. Rate the plugin. Write about
the plugin. Something 🙂

### _翻译_

None so far.

If you would like to contribute a translation, please leave a support request with
a link to your translation.

### 开发

Development happens on GitHub.

You are welcome to help us out and [contribute on GitHub](https://github.com/ronalfy/reorder-by-term).

### 技术支持

Please feel free to leave a support request here or create an [issue on GitHub](https://github.com/ronalfy/reorder-by-term/issues).
If you require immediate feedback, feel free to @reply me on Twitter with your support
link: [@ronalfy](https://twitter.com/ronalfy). Support is always free unless you
require some advanced customization out of the scope of the plugin’s existing features.
Please rate/review the plugin if we have helped you to show thanks for the support.

## 屏幕截图

[⌊When first installing the plugin, you'll want to head to Tools->Build Post Term
Data to add some data to your posts to allow reordering within terms.⌉⌊When first
installing the plugin, you'll want to head to Tools->Build Post Term Data to add
some data to your posts to allow reordering within terms.⌉[

When first installing the plugin, you’ll want to head to `Tools->Build Post Term
Data` to add some data to your posts to allow reordering within terms.

[⌊Convenient Reorder shortcut when browsing terms within a taxonomy.⌉⌊Convenient
Reorder shortcut when browsing terms within a taxonomy.⌉[

Convenient Reorder shortcut when browsing terms within a taxonomy.

[⌊This is an add-on to the Reorder Posts plugin.⌉⌊This is an add-on to the Reorder
Posts plugin.⌉[

This is an add-on to the [Reorder Posts](https://wordpress.org/plugins/metronet-reorder-posts/)
plugin.

[⌊Start by selecting a taxonomy...⌉⌊Start by selecting a taxonomy...⌉[

Start by selecting a taxonomy…

[⌊Then select a term to reorder...⌉⌊Then select a term to reorder...⌉[

Then select a term to reorder…

[⌊And let the ordering begin!⌉⌊And let the ordering begin!⌉[

And let the ordering begin!

## 安装

Either install the plugin via the WordPress admin panel, or …

 1. Upload `reorder-by-term` to the `/wp-content/plugins/` directory.
 2. 通过WordPress的“插件”菜单激活插件。

This plugin requires [Reorder Posts 2.1.0 or greater](https://wordpress.org/plugins/metronet-reorder-posts/).

When you first install the plugin, you’ll need to build term data. Head to `Tools-
>Build Post Term Data`. From there, you can build the term data based on the taxonomies
you select. You can also start over and clear the existing term data.

Please note that this plugin **does not** change the order of items in the front-
end. This functionality is **not** core WordPress functionality, so it’ll require
some work on your end to get the posts to display in your theme correctly.

You’ll want to make use of [WP_Query](https://codex.wordpress.org/Class_Reference/WP_Query),
[get_posts](https://codex.wordpress.org/Template_Tags/get_posts), or [pre_get_posts](https://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts)
to modify query behavior on the front-end of your site.

[See usage for some examples.](https://github.com/ronalfy/reorder-by-term#usage)

## 常见问题

### Why must I build term data?

For the plugin to work, there must be the correct custom fields present for each
post you want reordered by term. Since this data doesn’t exist natively, we must
build this data.

The build process should only have to happen once, so start the build, get a cup
of coffee, and then start reordering your posts by term.

### Where is the “save” button when re-ordering?

There isn’t one. The changes are saved automatically.

### Do I need to add custom code to get this to work?

Yes. Can we theoretically build this into the plugin to get it work automatically?
Sure. But we won’t.

### Does the plugin work with hierarchical post types?

Of course, but by the nature of terms, all post structures are flat, regardless 
of hierarchy.

### Does it work in older versions of WordPress?

This plugin requires WordPress 3.7 or above. We urge you, however, to always use
the latest version of WordPress.

## 评价

![](https://secure.gravatar.com/avatar/224e2d05eb97de95c6f3eedad07319c3b07fb22ec601b299f70e9349427342d7?
s=60&d=retro&r=g)

### 󠀁[Awesome!!](https://wordpress.org/support/topic/awesome-4750/)󠁿

 [Gabor Lippert](https://profiles.wordpress.org/lunule/) 2017 年 6 月 27 日

Oh My God! It works!!! No bugs! I can use it on my client's production site!!!!!
It's just like a fairy tale! Thank you, Guys!!!

![](https://secure.gravatar.com/avatar/439d2b923b03cc2270bbde75815160d42c3cb6c03988726104750ffd77de1435?
s=60&d=retro&r=g)

### 󠀁[Fantastic](https://wordpress.org/support/topic/fantastic-1276/)󠁿

 [dabnpits](https://profiles.wordpress.org/dabnpits/) 2017 年 1 月 13 日

Big thank you to the developers, the plugin works great.

![](https://secure.gravatar.com/avatar/e3700a672ba627836e00a584711ac3e804cc65a5b4c83fae270b678b5a5af741?
s=60&d=retro&r=g)

### 󠀁[Excellent work](https://wordpress.org/support/topic/excellent-work-121/)󠁿

 [Natacha](https://profiles.wordpress.org/chickwithbob/) 2016 年 11 月 28 日

![](https://secure.gravatar.com/avatar/16eebb0fda0e5c035c350a8d1cfcc245d42b3c84262812c3ab361d3e204e8b2b?
s=60&d=retro&r=g)

### 󠀁[Wonderful add-on](https://wordpress.org/support/topic/wonderful-add-on/)󠁿

 [Azarea](https://profiles.wordpress.org/atreidex/) 2016 年 9 月 3 日 1 回复

Easy to install and simple to use, this is a really useful plugin. It provides the
much-needed support for quick & intuitive re-ordering of different post types.

![](https://secure.gravatar.com/avatar/d8eaa69292f168fdc1640bd853aec18baee5864eea6aa0dbde59f80591ae3c15?
s=60&d=retro&r=g)

### 󠀁[Works great! Quick support.](https://wordpress.org/support/topic/works-great-quick-support/)󠁿

 [eSaner](https://profiles.wordpress.org/esaner/) 2016 年 9 月 3 日

This plugin, along with the Reorder Posts plugin, are great options for drag and
drop ordering in WordPress.

 [ 阅读所有5条评价 ](https://wordpress.org/support/plugin/reorder-by-term/reviews/)

## 贡献者及开发者

「Reorder by Term」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Matt Cromwell ](https://profiles.wordpress.org/webdevmattcrom/)

「Reorder by Term」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/reorder-by-term/contributors)
为本插件所做的贡献。

[帮助将「Reorder by Term」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/reorder-by-term)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/reorder-by-term/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/reorder-by-term/)，或通过[RSS](https://plugins.trac.wordpress.org/log/reorder-by-term/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/reorder-by-term/)。

## 更新日志

#### 1.3.1

 * Released 2026-03-23
 * Fixed order reset issue when saving posts.

#### 1.3.0

 * Released 2025-02-15
 * Fixing “term builder” where building terms often resulted in a mismatch, preventing
   reordering.
 * Resolving PHP fatal error when loading the plugin.

#### 1.2.3

 * Released 2019-02-16
 * Updating terms query in the back-end for better usability

#### 1.2.2

 * Released 2016-08-14
 * Major CSS overhaul

#### 1.2.0

 * Released 2016-08-12
 * Added screen options to set posts per page

#### 1.1.0

 * Released 2016-08-08
 * Added option in `Settings->Reorder Posts` to disable the term query from displaying.
 * Added better support for the post object.

#### 1.0.0

 * Updated 2015-04-25 – Ensuring WordPress 4.2 compatibility
 * Released 2015-01-27
 * Initial Release. Feedback is much appreciated!

## 额外信息

 *  版本 **1.3.1**
 *  最后更新：**3 周前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 3.7 或更高版本 **
 *  已测试的最高版本为 **7.1.3**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/reorder-by-term/) 和 [French (France)](https://fr.wordpress.org/plugins/reorder-by-term/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/reorder-by-term)
 * 标签
 * [category](https://cn.wordpress.org/plugins/tags/category/)[reorder](https://cn.wordpress.org/plugins/tags/reorder/)
 *  [高级视图](https://cn.wordpress.org/plugins/reorder-by-term/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  5 条 5 星评价     ](https://wordpress.org/support/plugin/reorder-by-term/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/reorder-by-term/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/reorder-by-term/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/reorder-by-term/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/reorder-by-term/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/reorder-by-term/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/reorder-by-term/reviews/)

## 贡献者

 *   [ Matt Cromwell ](https://profiles.wordpress.org/webdevmattcrom/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/reorder-by-term/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://mediaron.com/contribute/)