Dear Sir/Madam,
I want to view all child posts related to a specific parent post.
I make two views, I put the parent view into page and passing the url parameter "pid", below is the view code in parent view
<wpv-loop>
[wpv-conditional if="('[wpv-search-term param="pid"]' ne '')"]
會員:[types field='member-chinese-name'][/types] ([wpv-post-id])
[wpv-view name="application-list-child-posts"]
[/wpv-conditional]
</wpv-loop>
From child view, I set "Select posts in Any relationship that are related to the Post where this View is shown." in Query Filter but it doesn't work, please help.
You can find the relationship between Member and Application from the screenshot.
Hi there
You don't want to show posts that are the children of the post where the View is shown (i.e. the current page), you want to show posts that are children of the current post from the outer View listing parents.
So the correct filter option is "The current post in the loop"