WP Manifestindependent plugin directory
manifest / content / goliath-post-terms-order

Goliath Post Terms Order

WordPress plugin that sort taxonomy terms per post

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/studio-goliath/goliath-post-terms-order/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

This is a WordPress plugin that sorts taxonomy terms per post.

This plugin only adds an admin interface to sort terms. Otherwise it uses core functions because they already exist !

If you want to learn more about term ordering per post

how to use it

Create a custom taxonomy ( or filter a existing taxonomy ) and add the following argument :

'sort' => true

When you want to get all you terms in the right order use this core function :

$terms = wp_get_object_terms( $post_id, $taxonomy, array( 'orderby' => 'term_order' ) );