Saltar navegación

[Resuelto] search terms in custom field

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

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 hace 3 años, 10 meses. 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)

Este tema contiene 19 respuestas, tiene 2 mensajes.

Última actualización por davidm-13 hace 3 años, 10 meses.

Asistido por: Minesh.

Autor
Mensajes
#2000453

Here's a page I opened
enlace oculto

#2000521

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: 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:
=> enlace oculto

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: enlace oculto

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

Los hilos nuevos creados por Minesh y vinculados a este se encuentran a continuación:

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

#2000539

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: 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!