Skip Navigation

[Resolved] How to display only one instance of a field if you are ordering by that field

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

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 1 reply, has 2 voices.

Last updated by Luo Yang 7 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#399970
beer-view.png

I have a view that is ordered by a brew category custom field. I want that field to display in my view but only once for each instance that it occurs so it would show Brew Category One and then the products and then show Brew Category Two and then the products. Is there a way to do that in the view code. Attached is an image of what it looks like now I want the gray Seasonal - to appear once regardless of the number in that order by.

#400112

Dear beth,

I suggest you setup a nested View,
1) Parent view list terms of brew category, display the custom term fields and below child view
2) Child view list posts with term of parent view.
Then the each term(term fields) will be able to displayed only once.

See our document:
Views Inside Views – Display Nested Multidimensional Lists
https://toolset.com/documentation/user-guides/using-a-child-view-in-a-taxonomy-view-layout/

The forum ‘Types Community Support’ is closed to new topics and replies.

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