Passer la navigation

[Résolu] Text search filter on a View

This support ticket is created Il y a 3 years. 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 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par Aaron Zame Il y a 3 years.

Assisté par: Minesh.

Auteur
Publications
#2609909

Hi, I've set up a view to display a custom post type called Clinician: lien caché

There is a text search setup as a filter to search by clinician name (post title). They want to extend the text search to search other fields like specialty (custom field), suburb (custom field). I know the text field only searches post title and post description by default. Is there anyway to extend this so that the text field searches other custom fields too, without having to setup separate filters?

Cheers
Aaron

#2610023

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

You can use the "relevanssi" plugin with which we have integration to search in custom fields.

Please note that only the following type of fields are supported:
- Single line
- Multiple line
- WYSIWYG

More info:
- https://toolset.com/course-lesson/searching-texts-in-custom-fields-with-toolset-and-relevanssi/

#2610299

Ok great, I'll give that a go.

Cheers

#2610301

My issue is resolved now. Thank you!