Skip Navigation

[Resolved] Split: When passing a search term into a view I want an exact match – exact match search view

This support ticket is created 5 years, 1 month ago. 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)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 5 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#1365275

Minesh, I'm also interested in knowing how to create exact match only searches. For example, if I search "Ana," I only want results if it's "Ana," not "Diana" or "Adriana." Is it possible? Those are post titles by the way.

Sorry for hick-jacking your thread Chris but I think we want the same feature.

#1365277

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

There is no native feature available using which you can perform the exact match search but there is a way you can achieve this.

You can use the wordpress hook "posts_search" in order to search with exact keyword.

Please check the following related ticket that may help you:
=> https://toolset.com/forums/topic/keyword-search-needs-to-be-absolute/#post-1119036

Following links may help you as well:
=> hidden link
=> hidden link