Skip Navigation

[Resolved] Display partial results for post search

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

Problem:

Search by post title in custom search form.

Solution:

There is a built-in feature within custom search form, see our document: "Search in content or titles"

Relevant Documentation:

https://toolset.com/documentation/user-guides/filtering-views-for-a-specific-text-string-search/#search-in-content-or-titles

This support ticket is created 5 years, 3 months 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by stuartC 5 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#1187782

Hi guys,
I am trying to display search results of a post title even when only partial results appear.

So for example, if there are a few posts titled "Strawberry Cheesecakes" "Vanilla Cheesecakes" "New York Cheesecakes" and the user simply searches "Cheesecakes" it will bring up all 3 posts.

Is this possible using the Text search 'Just Post title' method?

#1188016

Hello,

It is possible within Views plugin, there is a built-in feature within custom search form, see our document:
https://toolset.com/documentation/user-guides/filtering-views-for-a-specific-text-string-search/#search-in-content-or-titles
section "Search in content or titles"
You can choose to search just in the post title, or in both the title and post content.
And user can search only partial keyword, and get the all related post posts.

#1188102

Thank you - I don't know why when I tried this the first time round it wasn't displaying partial results, now it does! Loving Toolset so far 🙂

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.