Whaze Term Order for Posts

Àpèjúwe

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).

Ìgbéwọlẹ̀

  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.

FAQ

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.

Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

Àwọn Olùkópa & Olùgbéejáde

“Whaze Term Order for Posts” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “Whaze Term Order for Posts” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.0.0

  • Initial release.