simple-custom-post-order icon indicating copy to clipboard operation
simple-custom-post-order copied to clipboard

Ignore the order of terms in the `include` parameter

Open glebkema opened this issue 5 years ago • 1 comments

The plugin does not allow to sort terms in the order specified by the include parameter of the get_term() function or the WP_Term_Query class.

$terms = get_terms( array(
	'include'     => '16,15,14',
	'orderby'     => 'include',
	'taxonomy'    => 'my_custom_taxonomy',
) );

While the plugin is deactivated, everything works correctly. But as soon as the plugin comes into play, it rearranges the terms according to the term_order.

glebkema avatar Feb 10 '20 22:02 glebkema

This problem still exists

germaniuz avatar Jul 10 '24 10:07 germaniuz