I'm having trouble displaying related post content.
I've setup two custom post types with a many to many relationship. There is also an intermediary post type connecting them. They are setup as follows.
Audio Books (custom post) << Series Number (intermediary) >> Book Series (custom post)
On the Audio Books post page, I'd like to display a section titled "Other Books in this Series" - so, other Audio Books posts that are related to the current Audio Book because they are in the same series.
I'm currently using Toolset Types and Views to display content and can't determine the correct settings to display the content as described above. Please advise!
Now you see the "wpvrelatedto" shortcode parameter and this is the parameter that we set in the relationship filter of the view. Next you see I've used "[wpv-post-id item='@slug-of-the-relationship.parent']", this is to get the ID of the parent post of the current post and pass it into the view to filter for the other posts with the same parent. Replace "slug-of-the-relationship" with the actual slug of the post relationship.