Problem:
The user would like to display results of a view, grouped by a custom field.
Solution:
This use case is not supported out of the box by Toolset. Because the view loops over a list of Posts, and you are trying to loop over a list(Inspirations) of lists(Posts). But, this can be achieved with some custom PHP code.
Please check our article about a similar use case, grouping posts by year/month https://toolset.com/2013/10/how-to-group-views-results-by-year-and-month/
The trick is to order the view by the grouping element, in your case the inspiration custom field.
Relevant Documentation:
https://toolset.com/2013/10/how-to-group-views-results-by-year-and-month/
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.
This topic is split from https://toolset.com/forums/topic/filter-type-select-not-working/
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: Africa/Casablanca (GMT+01:00)
This topic contains 2 replies, has 2 voices.
Last updated by 4 years, 1 month ago.
Assisted by: Jamal.