[WordPress] 外掛分享: Whaze Term Order for Posts

首頁外掛目錄 › Whaze Term Order for Posts
WordPress 外掛 Whaze Term Order for Posts 的封面圖片
全新外掛
安裝啟用
尚無評分
81 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.2+ v1.2.0 上架:2026-05-04

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Whaze Term Order for Posts」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Whaze Term Order for Posts lets you enable per-post custom ordering of taxonomy terms directly from the Gutenberg editor sidebar. Configure which post types and taxonomies are managed via the admin settings page, or register them programmatically in code.
Admin settings page:
Go to Settings → Term Order for Posts to enable term ordering for any post type / taxonomy combination — no code required.
For developers (optional):
Register a post type / taxonomy combination programmatically:
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:

Settings page to configure post type / taxonomy pairs — no code needed.
Opt-in auto-apply: custom order applied automatically to native blocks, classic theme functions, and any code using get_the_terms() — no template changes required.
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).

延伸相關外掛

文章
Filter
Apply Filters
Mastodon