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

Goliath Post Terms Order

WordPress plugin that sort taxonomy terms per post

by Studio Goliath · github.com/studio-goliath/goliath-post-terms-order

0stars
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/studio-goliath/goliath-post-terms-order/archive/refs/heads/master.zip

Readme

Goliath post terms order

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' ) );

Read the full README on GitHub →