Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore the order of terms in the include parameter #66

Open
glebkema opened this issue Feb 10, 2020 · 0 comments · May be fixed by #67
Open

Ignore the order of terms in the include parameter #66

glebkema opened this issue Feb 10, 2020 · 0 comments · May be fixed by #67

Comments

@glebkema
Copy link
Contributor

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 added a commit to glebkema/simple-custom-post-order that referenced this issue Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants