Skip Navigation

[Resolved] Using multiple post relationship filters in Custom Search ?

This thread is resolved. Here is a description of the problem and solution.

Problem:
I'd like to be able to filter them using 2 dropdowns: Profession and City.
But when I'm trying to add a second post relationship filter, the button is greyed. I'd like to be able to filter them using 2 dropdowns: Profession and City.

But when I'm trying to add a second post relationship filter, the button is greyed.

Solution:

It has been put into our to-do list as a feature request, and has already raised our developer's attention. See the reply from our developers:

https://toolset.com/2018/05/toolset-post-relationships-release/#comment-344869

Relevant Documentation:

This support ticket is created 6 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 7 replies, has 5 voices.

Last updated by jeremyP-3 6 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#906464
rc-05-relationships.png
rc-04-relationships.png
rc-03-relationships.png
rc-02-relationships.png
rc-01-relationships.png

I am trying to:
...set 2 different post relationship filters, working in parallel in a custom search.

On a test site, I set an example of directory.
I created 3 different Custom Post Types : Professionals, Professions, Cities.
The Professionals CPT is child of both Professions and Cities CPTs.

In a view listing the Professionals, I'd like to be able to filter them using 2 dropdowns: Profession and City.
But when I'm trying to add a second post relationship filter, the button is greyed.

Link to a page where the issue can be seen:
hidden link

I posted the question in a recent article of the blog and Amir answered me that it should work.
https://toolset.com/2018/05/toolset-post-relationships-release/

Could you help me to clarify this?
Thanks
Sébastien

#906657

Dear Sébastien,

Thanks for the feedback, I can see the same issue in my localhost:

when I'm trying to add a second post relationship filter, the button is greyed.

So there isn't such a built-in feature within Views plugin, and I have added it as a feature request, our developers will evaluate it.

#906699

This would be hardly a luxury for this directory type of site,
so thank you Luo for adding this as a feature request.

#907251

It has been put into our to-do list as a feature request, see the reply from our developers:
https://toolset.com/2018/05/toolset-post-relationships-release/#comment-344869

And there are other similar requests too, for example:
https://toolset.com/forums/topic/how-to-build-a-parametric-search-filtering-posts-with-two-or-more-parents-types/

It has already raised our developer's attention.

#907284

Indeed, I close the topic.
Have a good week-end.

#1129607
#1552697

Hi. Some news about this? Thank you.

#2005539

Do we have any updates on this feature??