Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Reply To: [Waiting for user confirmation] Posts2Posts with Views

$
0
0

Caridad – THIS-IS-AWESOME.

It works AMAZINGLY well. THANK YOU!!!

Now I'm going to push it one step further. With this code I can only call up ONE post ID. But if there are multiple connections, I'm trying to see how to get access. For example: If a band has several reviews, how do I get the ID for each?

In particular, what I am currently doing is:

1 – Call a view that shows a bands basic info:
[wpv-view name="BandListing"]

2 – Inside the view "BandListing" I call another view called "Review" that shows a Review. I'm using the Argument "postid".
[wpv-view name="Review" postid="[wpv-post-p2p-id type='band_to_reviews']"]

3 – Inside the view "Review" – The Query Filters posts which IDs is set by the Argument "postid"

The above works if ONE review is attached to a band, but how would I call up MULTIPLE reviews?


Viewing all articles
Browse latest Browse all 20145

Trending Articles