Skip Navigation

[Resolved] advanced search function

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

Problem:

The customer reported two issues with their search function on the page: (1) when clicking the "apply" button, the view jumps back to the beginning of the website instead of staying at the current position; (2) the search function only searches by post title, but they want it to search all content, including cities in a specific column.

Solution:

We checked the page and confirmed that the issue with the search redirecting to the home page was not reproducible, suggesting it may have been resolved. For the search to include text from custom fields (such as cities), we recommended using the "Relevanssi" plugin. The customer integrated Relevanssi, configured it, and confirmed that the search functionality now works as intended.

Relevant Documentation:

https://toolset.com/documentation/user-guides/front-page-filters/
https://toolset.com/documentation/user-guides/searching-texts-custom-fields-views-relevanssi/

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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 1 reply, has 2 voices.

Last updated by Mateus Getulio 3 months ago.

Assisted by: Mateus Getulio.

Author
Posts
#2724282

Hello dear toolset support,
There is already a search function on the "hidden link" page.
If you enter something in the search and click on the "apply" button, the view jumps back to the beginning of the website. Is it possible to stay at the point you are at when you use the search?

Furthermore, the search function only searches for the title of the entry. Is it possible to search for all content, such as the cities in column 3?

Thank you in advance.

#2724837

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

I checked it and I'm unable to reproduce the issue with the searching redirecting to the home page, did you manage to fix the issue on your end? I performed a search

Regarding the text search, by default, when the text search is used through Toolset Views/Blocks, it only searches through post titles and content.
( ref: https://toolset.com/documentation/user-guides/front-page-filters/ )

But if your goal is to also include text from the custom fields, you can use a third-party plugin "Relevanssi" along.
https://wordpress.org/plugins/relevanssi/

The detailed guide on using Relevanssi and Toolset together is available at:
https://toolset.com/documentation/user-guides/searching-texts-custom-fields-views-relevanssi/

I hope this helps and please let me know if you need any further assistance around this.

regards,
Mateus

#2731925

Hello Mateus,
I had already integrated and set up Relevanssi. I have now set everything up again and now it works again. Thank you very much for your support!