|
Multiple ID filter of view
Commencé par : christopheV-2
in: Toolset Professional Support
Quick solution available
Problem:
I have a shortcode of this type:
echo do_shortcode ('[wpv-view name = "10-next-matches" view_display = "layout" wpvrelatedto = "769,770"]');
But it doesn't work. This does not show me the matches of the chosen team IDs.
Solution:
You can try these:
1) Edit the post view "10-next-matches", in section "Query Filter", setup the filter as below:
Select posts in a YOUR-POST-REFERENCE-FILED-NAME relationship that are related to the Post with ID set by the URL parameter wpv-relationship-filter
2) Edit your PHP codes as below:
https://toolset.com/forums/topic/multiple-id-filter-of-view/#post-1732667
Relevant Documentation:
|
|
2 |
5 |
Il y a 4 années et 10 mois
christopheV-2
|