Title: Whaze Term Order for Posts
Author: whaze
Published: <strong>2026 年 5 月 5 日</strong>
Last modified: 2026 年 5 月 5 日

---

搜索插件

![](https://ps.w.org/whaze-term-order-for-posts/assets/banner-772x250.png?rev=3523180)

![](https://ps.w.org/whaze-term-order-for-posts/assets/icon-256x256.png?rev=3523180)

# Whaze Term Order for Posts

 作者：[whaze](https://profiles.wordpress.org/whaze/)

[下载](https://downloads.wordpress.org/plugin/whaze-term-order-for-posts.1.0.0.zip)

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

 [支持](https://wordpress.org/support/plugin/whaze-term-order-for-posts/)

## 描述

Whaze Term Order for Posts lets developers enable per-post custom ordering of taxonomy
terms directly from the Gutenberg editor sidebar. The plugin is entirely code-driven:
no settings page, no configuration UI.

**For developers:**

Register a post type / taxonomy combination:

    ```
    add_action( 'init', function () {
        whaze_term_order_for_posts_register( 'post', 'category' );
        whaze_term_order_for_posts_register( 'movie', 'genre' );
    } );
    ```

Retrieve ordered terms in templates or REST:

    ```
    $terms = whaze_term_order_for_posts_get_terms( get_the_ID(), 'category' );
    ```

**Features:**

 * Drag-and-drop reordering panel in the block editor sidebar.
 * Order saved automatically with the post — no separate AJAX call.
 * Falls back to default WordPress term order when no custom order is set.
 * Unused order entries are cleaned up automatically when terms are removed.
 * REST API field `term_order` for headless use cases.
 * Fully translatable (i18n-ready).

## 安装

 1. Upload the plugin folder to `/wp-content/plugins/`.
 2. Activate the plugin through the **Plugins** screen in WordPress.
 3. Call `whaze_term_order_for_posts_register()` in your theme or plugin.

## 常见问题

### Does this work with custom post types and taxonomies?

Yes. Pass any registered post type and taxonomy slug to `whaze_term_order_for_posts_register()`.

### What happens if no order is defined for a post?

whaze_term_order_for_posts_get_terms() falls back to the standard `wp_get_object_terms()`
result — the plugin is completely transparent.

### Is this multisite compatible?

Yes. The order is stored as post meta and is therefore scoped to each site in the
network.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Whaze Term Order for Posts」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ whaze ](https://profiles.wordpress.org/whaze/)

[帮助将「Whaze Term Order for Posts」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/whaze-term-order-for-posts)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**5 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 8.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/whaze-term-order-for-posts/)
 * 标签
 * [block-editor](https://cn.wordpress.org/plugins/tags/block-editor/)[gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)
   [order](https://cn.wordpress.org/plugins/tags/order/)[taxonomy](https://cn.wordpress.org/plugins/tags/taxonomy/)
   [terms](https://cn.wordpress.org/plugins/tags/terms/)
 *  [高级视图](https://cn.wordpress.org/plugins/whaze-term-order-for-posts/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/whaze-term-order-for-posts/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/whaze-term-order-for-posts/reviews/)

## 贡献者

 *   [ whaze ](https://profiles.wordpress.org/whaze/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/whaze-term-order-for-posts/)