Problem: I would like to create a View of posts in a M2M relationship, and I would like to sort the View by a custom field stored on the intermediary post type.
Solution: It is not possible to sort a View of one post type by a custom field applied to another post type. Instead, you can make the intermediary post type visible in wp-admin and create a View of the intermediary post type sorted by the custom field. In the Loop of the View, you can output information about the related posts using Views shortcodes.
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 |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 1 reply, has 2 voices.
Last updated by 6 years, 6 months ago.
Assisted by: Christian Cox.