I want to make a view with posts that can only be viewed by the author of the parent post. I made a parent view that lists the posts of the logged in user, but I don't understand how I can add that to the child view.
The topic above says "Select related posts that are a child to the Post set by parent View." but I do not seem to have that option.
I made a parent view that lists the posts of the logged in user, but I don't understand how I can add that to the child view.
I believe you have it backwards. You should insert the View of child posts inside the View of parent posts.
The topic above says "Select related posts that are a child to the Post set by parent View." but I do not seem to have that option.
In the View editor, look for the Query Filter panel. If you cannot see the Query Filter panel, scroll to the top right corner of the screen and click the tab "Screen Options". You can enable the Query Filter panel here. Then add a Post Relationship filter in the Query Filter panel, and you will see some options like the screenshot attached.
I still don't know how I create a nested view to do this. I've go two views:
- The view that lists the logged in users (parent) posts
- The view that lists the child posts (in this case private reservations)
The goal is to make a view with posts that can only be viewed by the author of the parent post. How can I let these two views work together to achieve this goal?
I made a view that lists the pages of the current logged in user, and put a view that lists the private reservations by the current post in the loop inside the loop of the first view. Somehow I was thinking about something completely different.