Problem:
I need the posts to be sorted by field A within field B. The problem is that both field A and B are taxonomies. Is there a recommended workaround to achieve this?
Solution:
There isn't such a built-in feature to convert term fields to post fields, in your case, the post fields is required to sort the view's result.
So you might need to consider custom codes, for example:
https://toolset.com/forums/topic/sort-output-from-view-by-taxonomy-fields/#post-1096668
Relevant Documentation:
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 |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9: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/Hong_Kong (GMT+08:00)
This topic contains 3 replies, has 2 voices.
Last updated by 6 years, 3 months ago.
Assisted by: Luo Yang.