Title: Reorder Terms
Author: Ronald Huereca
Published: <strong>2015 年 10 月 4 日</strong>
Last modified: 2026 年 3 月 10 日

---

搜索插件

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

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

# Reorder Terms

 作者：[Ronald Huereca](https://profiles.wordpress.org/ronalfy/)

[下载](https://downloads.wordpress.org/plugin/reorder-terms.1.1.1.zip)

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

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

## 描述

We consider Reorder Terms 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/).

Reorder Terms takes a different approach to term reordering. Instead of modifying
core tables to achieve reordering, we do it using term meta per post type.

With the ability to add taxonomies to multiple post types, this method allows you
to reorder terms within each post type attached to the same taxonomy.

This plugin treats terms like pages. Each term in a hierarchy has a term order. 
This allows quick reordering and deep traversing to get the exact terms and order
you prefer.

As a result, you can get reordered terms with a query such as:

    ```
    $query = array(
        'orderby' => 'meta_value_num',
        'order' => 'ASC',
        'meta_query' => array(
            'relation' => 'OR',
            array(
                'key' => 'post_order',
                'compare' => 'NOT EXISTS'
            ),
            array(
                'key' => 'post_order',
                'value' => 0,
                'compare' => '>='
            )
        ),
        'hide_empty' => true,
        'parent' => 0
    );
    $terms = get_terms( 'post_format', $query );
    echo '<ul>';
    foreach( $terms as $term ) {
        printf( '<li>%s</li>', esc_html( $term->name ) );
    }
    echo '</ul>';
    ```

While admittedly the query isn’t exactly poetry, it’s efficient, and insanely flexible.

### Features

  Add-on to [Reorder Posts](https://wordpress.org/plugins/metronet-reorder-posts/),
  so there is only one place to do all your reordering.
  Reorder terms for each taxonomy within each post type. Very flexible.
  
  ### Spread the Word
  
  If you like this plugin, please help spread the word. Rate the plugin. Write about
  the plugin. Something 🙂
  
  ### Development
  
  Development happens on GitHub.
  You are welcome to help us out and [contribute on GitHub](https://github.com/ronalfy/reorder-terms).
  
  ## 屏幕截图
  
  [⌊Reorder Terms Interface⌉⌊Reorder Terms Interface⌉[
  Reorder Terms Interface
  [⌊Example of Terms on the front-end⌉⌊Example of Terms on the front-end⌉[
  Example of Terms on the front-end
  [⌊Example of Terms on the front-end⌉⌊Example of Terms on the front-end⌉[
  Example of Terms on the front-end
  
  ## 安装
  
  Either install the plugin via the WordPress admin panel, or …
   1. Upload `reorder-terms` to the `/wp-content/plugins/` directory.
   2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  This plugin requires [Reorder Posts 2.1.0 or greater](https://wordpress.org/plugins/metronet-reorder-posts/).
  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.
  [See usage for some examples.](https://github.com/ronalfy/reorder-terms#usage)
  
  ## 常见问题
  
  Ask your questions here!
  
  ## 评价
  
  ![](https://secure.gravatar.com/avatar/439d2b923b03cc2270bbde75815160d42c3cb6c03988726104750ffd77de1435?
  s=60&d=retro&r=g)
  
  ### 󠀁[Excellent, just works, no fluff](https://wordpress.org/support/topic/excellent-just-works-no-fluff/)󠁿
  
   [dabnpits](https://profiles.wordpress.org/dabnpits/) 2017 年 3 月 16 日
  Fantastic plugin. Doesn’t shove any premium version upgrade nags down your throat.
   [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/reorder-terms/reviews/)
  
  ## 贡献者及开发者
  
  「Reorder Terms」是开源软件。 以下人员对此插件做出了贡献。
  贡献者
   *   [ Ronald Huereca ](https://profiles.wordpress.org/ronalfy/)
  「Reorder Terms」插件已被翻译至 3 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/reorder-terms/contributors)
  为本插件所做的贡献。
  [帮助将「Reorder Terms」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/reorder-terms)
  
  ### 对开发感兴趣吗?
  
  您可以[浏览代码](https://plugins.trac.wordpress.org/browser/reorder-terms/)，查看
  [SVN仓库](https://plugins.svn.wordpress.org/reorder-terms/)，或通过[RSS](https://plugins.trac.wordpress.org/log/reorder-terms/?limit=100&mode=stop_on_copy&format=rss)
  订阅[开发日志](https://plugins.trac.wordpress.org/log/reorder-terms/)。
  
  ## 更新日志
  
  
  #### 1.1.1
  
   * Released 2019-02-16
   * Added term helper query in the back-end
  
  #### 1.1.0
  
   * Re-release
  
  #### 1.0.0
  
   * Initial release.
  
  ## 额外信息
  
   *  版本 **1.1.1**
   *  最后更新：**3 月前**
   *  活跃安装数量 **1,000+**
   *  WordPress 版本 ** 6.5 或更高版本 **
   *  已测试的最高版本为 **7.0**
   *  语言
   * [English (US)](https://wordpress.org/plugins/reorder-terms/) 、 [French (France)](https://fr.wordpress.org/plugins/reorder-terms/)、
     [Spanish (Chile)](https://cl.wordpress.org/plugins/reorder-terms/) 和 [Spanish (Spain)](https://es.wordpress.org/plugins/reorder-terms/).
   *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/reorder-terms)
   * 标签
   * [reorder](https://cn.wordpress.org/plugins/tags/reorder/)
   *  [高级视图](https://cn.wordpress.org/plugins/reorder-terms/advanced/)
  
  ## 评级
  
   5 星（最高 5 星）。
   *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/reorder-terms/reviews/?filter=5)
   *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/reorder-terms/reviews/?filter=4)
   *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/reorder-terms/reviews/?filter=3)
   *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/reorder-terms/reviews/?filter=2)
   *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/reorder-terms/reviews/?filter=1)
  [Your review](https://wordpress.org/support/plugin/reorder-terms/reviews/#new-post)
  [查看全部评论](https://wordpress.org/support/plugin/reorder-terms/reviews/)
  
  ## 贡献者
  
   *   [ Ronald Huereca ](https://profiles.wordpress.org/ronalfy/)
  
  ## 支持
  
  有话要说吗？是否需要帮助？
   [查看支持论坛](https://wordpress.org/support/plugin/reorder-terms/)