plugin-icon

Whaze Term Order for Posts

投稿者: whaze·
Order taxonomy terms individually per post, directly from the Gutenberg editor sidebar.
バージョン
1.2.0
最終更新日時
May 12, 2026
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).
無料有料プラン
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 6.9.4
このプラグインをダウンロードして、 サイトに使用できます。