Sauter la navigation

[Résolu] search terms in custom field

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 Il y a 3 années et 9 mois. 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)

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

Dernière mise à jour par davidm-13 Il y a 3 années et 9 mois.

Assisté par: Minesh.

Auteur
Publications
#2000453

Here's a page I opened
lien caché

#2000521

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: 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:
=> lien caché

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: lien caché

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

Les nouveaux fils créés par Minesh et associés à celui-ci sont repris ci-dessous :

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

#2000539

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: 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!