Skip Navigation

[Resolved] Show relationship with custom search

This support ticket is created 6 years, 3 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 2 voices.

Last updated by MC 6 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#1100685

MC

Hello,

I created a relationship with some custom post types, now i want to filter is using a custom search filter on the front end, like the real estate website. How do i do that. I cannot find any documentation regarding it.

thx!

#1100837

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screen Shot 2018-09-05 at 3.51.07 PM.png

Hello,

Thank you for contacting our support forum.

What you need to do is to add a post relationship filter to your view. See Screenshot.

Please let me know if you're able to see this option.

Thanks,
Shane

#1101361

MC

Hello Shane,

Thanks for your answer.

I did found that option, but is asks for: Select which ancestors should be part of this filter

I don't have any ancestors, how do i get that? I have a one-to-many relationship. What are ancestors? Could not find any info on it.

thx!

#1101673

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

In you case you would not need to worry about an Ancestor since you are not using a Many to Many relationship.

Thanks,
Shane

#1103254

MC

Hello Shane,

Sorry but your answers didn't help me much. What i see, even in an not many-to-many case you need to choose an ancestor otherwise post relationship parametric search does not work. Maybe i am wrong but in mine case that was mine solution. And in the real estate website that is also the case.
thx