Skip Navigation

[Resolved] WordPress default search + Toolset Views

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

Problem:

I am displaying a list of Staff using Toolset Views on the About page and want to know if the WordPress default search can return the About page when someone searches for a staff member's name shown in that view.

Solution:

Install the Relevanssi plugin and configure it to index the content from custom fields and shortcode outputs, so the default WordPress search can return pages that include Toolset View content.

Relevant Documentation:

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

https://wordpress.org/plugins/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.

This topic contains 1 reply, has 1 voice.

Last updated by Paul Marconi 1 month, 3 weeks ago.

Assisted by: Christopher Amirian.

Author
Posts
#2805623

Hi there,

We are using the Toolset Views plugin to display Staffs in a list layout (with their contact details), sort of like in this format:
===========
FULL NAME
Job title
email address
=========

We have inserted the view to the About page. If we do a search (from the website), using the WordPress default search form, does it search or pickup the words from the Staff view?

For example, say there is a Staff called 'Jane Doe' and she is listed in the view that was inserted to the About page, when we do a search for 'Jane' (from the website), will the search results section show the About page as a result (since the word 'Jane' is from the toolset view , and the view is inserted to that page)?

Hope this makes sense!

Thank you!

#2805776

Christopher Amirian
Supporter

Languages: English (English )

Hi,

Not by default, but you can use a plugin such as Relevanssi to make that happen.

The details are explained here:

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

Thanks.

#2806271

Thank you Christopher! Installing the Relevanssi plugin works!