Skip Navigation

[Resolved] Text search on parent

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.

This topic contains 1 reply, has 2 voices.

Last updated by Beda 6 years, 5 months ago.

Author
Posts
#954714
02.jpg
01.jpg

I have two post types in hierarchal relationship (parent/child).
Parent: Partner
Child: Grant

I have a grant listings page where the user can filter on grant fields. I need to be able to include a text search for the user to be able to do a search on the parent's post title. I have tried using id="$partner" but that doesn't do anything.

See screenshots which explain better.

link to your site:
hidden link

#955351

That is not yet possible with Toolset

We are working on similar features but there is no ETA for that.

For now, you'd need to create a View and query the post type that you want to search in, otherwise, you cannot search by "Related" posts fields or data.

The only what you can do is search by a Post Relation itself, this means, you can search a list of Posts (Childs, for example) by their related posts (maybe parent post)

Here is the link to the Documentation on how to achieve that:
https://toolset.com/documentation/user-guides/front-page-filters/