Skip Navigation

[Resolved] search terms in custom field

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

Problem:
search terms in custom field

Solution:
To search text within custom field and taxonomy, there is a relevanssi integration:
=> https://toolset.com/course-lesson/searching-texts-in-custom-fields-with-toolset-and-relevanssi/

You can find the proposed solution in this case with the following reply:
https://toolset.com/forums/topic/search-terms-in-custom-field/page/2/#post-2000521

Relevant Documentation:

This support ticket is created 3 years, 9 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 19 replies, has 2 voices.

Last updated by davidm-13 3 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#2000453

Here's a page I opened
hidden link

#2000521

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please check now.

For now, I've added the post link to display as output within the view's "Loop Editor" section:
=> hidden link

You can adjust your output as per your requirement.

Also, with the "Query Filter" section you need to set the option "Search in" - "title , body and custom fields" as you can see with the following screenshot: hidden link

I can see now its working. Can you please confirm it works at your end as well.

#2000533

Yes, Thanks very much.
I see the child posts, how would I change this to see a list of unique parent post titles.
Also how would I search for phrases eg. "abdominal pain"

Thanks

New threads created by Minesh and linked to this one are listed below:

https://toolset.com/forums/topic/split-search-terms-in-custom-field-list-parent-post-only-once/

#2000539

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

That is a different issue. We entertain only one question per ticket. This will help other users searching on the forum as well as help us to write correct problem resolution summery.

I'll split the ticket with your new question and your are welcome to mark resolve this ticket. 🙂

#2000563

My issue is resolved now. Thank you!