Forums › Forums › Search & Filter Pro › Search input better keywording
Tagged: form, input, search, specificity, UI
- This topic has 4 replies, 2 voices, and was last updated 4 years, 4 months ago by Anonymous.
-
Anonymous(Private) August 5, 2020 at 9:24 pm #255206
Hello,
I have the “Search” input in Search Form UI, but at the moment it is only finding posts that have the exact same post title.
Is it possible to improve this, so it also detect tags, or even some ACF field data? I don’t want any filters, just purely via search.
Also, for example, I have a popular post called “Wu-tang” but when users search “Wutang” it doesn’t pick it up even though it’s just missing a “-“.
At the moment it is to specific and needs more flexibility for general searches.
Thank you,
ElliottTrevor(Private) August 6, 2020 at 11:35 am #255238Our plugin does not directly allow you to do text searches of individual Post Meta (custom fields) and Taxonomy (Category, Tags and Taxonomies) data/terms. The Search & Filter Pro Text Search field uses the standard WordPress search, so looks only in the Post Title and Content. To help you control this better, on the form’s Advanced settings tab you will see 2 settings for Relevanssi.
The documentation for this is here:
https://www.designsandcode.com/documentation/search-filter-pro/3rd-party/relevanssi/
You would need to install and activate the free Relevanssi plugin as well.
Then set Relevanssi up and build its index (make sure it is indexing the desired post types, custom fields AND any taxonomy that you want to search).
In its settings you can set the text phrase to exact match, and there are options for how it deals with hyphens.
-
AuthorPosts