Skip Navigation

[Resolved] Taxonomy term sorting by custom termmeta does not work

This thread is resolved. Here is a description of the problem and solution.

Problem:
How to sort taxonomy term by custom term (termmeta) field.

Solution:
This is an upcoming feature in WordPress 5.0 and views plugin implement this feature after WordPress version 5.0 is released.

You can find proposed solution with the following reply:
https://toolset.com/forums/topic/taxonomy-term-sorting-by-custom-termmeta-does-not-work/#post-400293

Relevant Documentation:

This support ticket is created 7 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by ivanC-2 7 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#400038

I have a view which displays the terms of a custom taxonomy, sorted by a custom term-meta defined for that taxonomy. The term-meta is a numeric field which a default value.

Regardless of the sorting order (ascending or descending), there seems to have no effect on the displayed results.

#400293

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Our developers mentioned that this is an upcoming feature in WordPress 5.0 and our views plugin has code to support this as soon as WordPress version 5.0 is released.

It's in our roadmap but we can implement it after wordpress 5.0 release.

However, you can try to use this solution that one of the user shared so that may help you:
https://toolset.com/forums/topic/order-taxonomy-view-by-term-field/#post-377639

I hope the mentioned solution will work for you as well.

#401262

Thanks.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.