Problem:
The issue here is that the user wanted to filter their view by a shortcode parameter that takes a post ID.
Solution:
The first thing that is needed to be done is to add your query filter.
This can be done by clicking the Add Query Filter button, then adding the filter for Post ID.
Then set the filter to get its value from a shortcode parameter.
Following this then you should be able to setup your view like this.
[wpv-view name="MY-VIEW-NAME" ids="[wpv-post-id]"]
Where ids is the parameter you've set it to be and the [wpv-post-id] shortcode is providing the view with an id to filter the posts.
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 5 replies, has 2 voices.
Last updated by 5 years, 7 months ago.
Assisted by: Shane.