Hi, I have created two CPTs, 1: Events, 2: Participants. But I didn't create any relationship, because in One Event can be 100s of Participants so that can make a signle event too large to load. So Alternatively, on each Event page, I have added a participant registration form to fill, and I save Participant's data as a new Post in the "Participant" CTP along with Event CPT's Event Title and Event ID in custom fields of Participant CTP.
Now, I want to display all registered Participants in each Event's page and I want to filter the participants View based on the stored Event ID which was stored when a user was registering for a Event.
But I am unable to add a correct Query filter that can filter Participants Posts based on the ID of the current Event page where the view is used.
Please Watch this video to understand the exact requirement.
hidden link
My issue is resolved now. Thank you!