Hi,
Thanks, I hope I could understand the problem correctly, but from what I see you want to display a list of Jobs (child posts) that share the same Organisation (parent post) and meet specific custom field criteria.
If so I suggest this approach:
1. Create a View to Query 'Jobs' Post Type:
- Navigate to Toolset → Views and create a new View that queries the 'Jobs' post type.
- Enable custom search to allow filtering based on Job-related taxonomies and custom fields (e.g., Job Type, Age, Language).
2. Add Filters Specific to 'Jobs':
- In the View's Search and Pagination section, add filters for the desired Job taxonomies and custom fields.
- Note: Filters can only be applied to the post type being queried—in this case, 'Jobs'.
3. Display Parent Organisation Information:
- Within the Loop Editor of the 'Jobs' View, after displaying the Job details, insert fields to display information from the related Organisation.
- Use the Post Relationship shortcodes to fetch parent Organisation data. For example:
[wpv-post-title item="@organisation-job.parent"]
This shortcode displays the title of the parent Organisation related to the current Job.
4. Group Jobs by Organisation:
- Use a nested View where the outer View queries 'Organisations' and the inner View queries 'Jobs' filtered by the current Organisation.
Please get back to us if that was what you asked for or not.
Thank you.