Problem:
The issue here is that the user wanted to filter his child view by passing the ID of the parent to the view using a URL parameter.
Solution:
In order to do this you will need to create a view that will list the child. On that view you then want to add a query filter for the parent.
Once the filter is added then you will need to set it to "Post with ID set by the URL parameter " and then note the parameter that it requires.
Next you need to build a page to hold this child view.
Finally you need to modify the button on your parent listing table so that when you click it, you're taken to the page this the child view.
So the link should be.
<a href='linktochildpostviewpage?wpv-pr-child-of='[wpv-post-id]'>Click Me</a>
Once you have done this it should display the listings of the parent you click on.
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 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | - |
- | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 14:00 – 18:00 | 13:00 – 18:00 | - |
Supporter timezone: America/Jamaica (GMT-05:00)
This topic contains 1 reply, has 2 voices.
Last updated by 6 years, 7 months ago.
Assisted by: Shane.