Problem: I would like to display a list of a repeatable field group (RFG) in a post template. The RFG belongs to a related post of the post being displayed in the post template.
Solution:
- Create a View of the RFG, filtered by post relationship, where the parent Race Result PDF is set by the current post in the loop. In the loop of this View, output your custom field information.
- Create a View to display Race Result PDFs only. It should have a Post Relationship Query Filter, where the parent Race Event is the post where this View is displayed.
- Place the View of Race Result PDFs in the template for Race Events. This is the only View that should be placed in the Race Results section.
- In the Loop of the View of Race Result PDFs, place your View of the RFG. You can also output the title of the Race Result PDF if necessary, or any other information from the Race Result PDF that will help you break up the display of your data.
Relevant Documentation:
https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/
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 4 replies, has 2 voices.
Last updated by 5 years, 7 months ago.
Assisted by: Christian Cox.