Hi @martinp-13 and thank you, @shane-c, for passing the ticket to me. I think I may have a solution to the issue here however as well hope I did not misunderstand the requirements as a negative result was found at first by you.
FYI, it may still not be possible, I, however, think to understand this is possible to achieve, see below.
1. "this page here i would like to add a filter ,to show only what gets selected , on page load i want all the details showing. above where the info is shown i want to add a filter so that people can filter and show only there required views."
It sounds like a View is required, which has a Query Filter that pre-sets some queries, and then as well has a Front End Search to search thru those limited results.
I understand this should happen here:
hidden link (and all the other /dogs/etc....)
2. "the filter would allow me to filter , stake,,date of event, events,placement,the panel of judge and the judge"
Again this sounds like #1, we have a View, listing Judges and/or Events, on a Dogs Post.
Of course, it should only display Judges and/or Events related to the single Dog but still let the user search thru those limited results by filtering for stake, date of event, events, placements, etc.
3. This should be perfectly possible, by following these steps:
- Create a View that lists the Post Type you want to FILTER. So if you want to search thru related Events of a Dog, you need to list Events. If you want to filter Judges, you need to list Judges.
Not the intermediary Post Type as it is done now.
- Then, a Query filter is added to limit the Events and/or Judges to display only the ones related to the post where this View is inserted to.
- After that, more Query filters could be added to further narrow down the "standard" list of related Judges or Events on Dog posts.
- Later, a Front End Filter can be added by either of Custom Fields or Taxonomies that belong to the QUERIED object, so, they need to belong to Events if you query Events and to Judge, if they belong to Judge.
You can NOT filter by fields or terms of RELATED posts, this will only be possible in future and it needs to be asked for as a request here: https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
- Then, you can complete the Loop and here you can display either current data (Event, Judge) or/and RELATED data such as from posts that are related to the one currently being looped.
- Last, the View is inserted to a Dogs Post or better, in a Template, that is applied to Dogs.
I need, to set up an example, to know what exactly you want to Filter (which post type, which field) and what to display.
Then I could set up an example if the above instructions do not suffice to create the View.