"You can build a text search to search within the post title: "
You mean to say that I can create a text search for even text that is contained inside the nested/child view? That would be perfect!
I am using classic view for the view itself, and I'm using blocks editor for the content template loop inside of the view.
- Do you want to display the results group by location? For example:
Location 1:
- Post 1
- post 2
Location 2:
- post 3
-post 4
Yes you are correct that is exactly how I have it set up! Right now I can only utilize searching inside the "Location 1" or "Location 2" posts, because those are the main/parent posts of the view.
I am trying to add the ability to search by the Post Title of Post 1, Post 2, Post 3 etc. inside of those Location Posts, with the results of the search displaying them (and their parent post obviously). However, the one main part that adds to the "technicality" of the filter, is that I can't simply bring in every single Post Title to this "nested" filter, because there are hundred of child posts (i.e. post 5, post 6) that are not attached to any Locations, and are not necessary to display, and that will show up in the filter. Therefore I need the multi-checkbox to serve as a conditional statement, saying that if a certain option in the multi-checkbox in the child Post 1 or Post 2 etc. is checked, then the Post Title should be displayed in the Filter. If it is unchecked, then I don't want it there, because it will just confuse users.
The reason I brought in Filter A and Filter B, is because this exact example above I need duplicated. There are two options in the multi-checkbox for child posts that I would like to display in this filter. One Filter (Filter A, for example) will only display Post Titles for Post 1 & Post 3, because only "option 0" in the checkbox is checked. The other Filter, Filter B, will display Post Titles for Post 2 & Post 4, because only "option 1" in the checkbox is checked. So these will be 2 separate filters right next to each other, one that has "Label 1" which searches through all "option 0" of the child posts, and one with "Label 2" which searches through all "option 1" of the same child posts, and they both return the filtered Post Titles of that related Child Post.
I hope I explained clearly!
Thanks,
Sim