Problem:
Display a child post filed in a parent view inside a table, where the parent view render using data from both parent and child custom posts
The issue i have is that the table i create need to display content from parent and child posts
do i need to insert view inside a view? i.e. in the table cell insert a view of a child to display one field?
Solution:
You are right, it needs a nested view, you need to create a child view, and put the child view into one table cell of the parent view, but I suggest you use only one table cell to display the child view, and the table sort feature won't be able to work in this cell.
Here is a document "Views Inside Views - Create Nested Structures":
https://toolset.com/documentation/user-guides/using-a-child-view-in-a-taxonomy-view-layout/
For your reference.
Relevant Documentation:
https://toolset.com/documentation/user-guides/using-a-child-view-in-a-taxonomy-view-layout/
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 |
---|---|---|---|---|---|---|
- | 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 3 replies, has 2 voices.
Last updated by 6 years, 11 months ago.
Assisted by: Luo Yang.