Skip Navigation

[Resolved] Group child post by parent post

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

Problem:
Group child post by parent post

Solution:
To group child posts by parent posts you need nested views.

You can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/more-help/#post-1081070

Relevant Documentation:

This support ticket is created 6 years, 4 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 briana-5 6 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#1080310

I closed my prior ticket prematurely.

In this post, the solution solved the problem of not displaying either view when the child view was empty.

https://toolset.com/forums/topic/post-relationships-7/#post-1077126

However, testing this solution further, I realize that it creates a new issue. My goal is to group child view items under the parent item, rather than display the same parent item multiple times.

So I want this:
Pear – July 12, 2018
*blue
Apple – July 27, 2018
*Yellow
*Green

But I'm getting this:

Pear – July 12, 2018
*blue
Apple – July 27, 2018
*Yellow
Apple – July 27, 2018
*Green

Note how :Apple – July 27, 2018" Appears twice.

#1081070

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - I just checked with your page:
=> hidden link

I see that the output displayed is as per your requirement, looks like you found out the trick to display it 🙂

#1085452

Yes. Thank you.