Skip Navigation

[Resolved] Searching WP default fields, eg Title

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

Problem: I would like to be able to create a custom search View with a text input that allows Users to search by post title.

Solution: In the Search and Pagination panel of the View editor screen you can find a button to add a "Text Search" filter control. This will allow your site visitors to search for post title and content (and optionally custom fields if Relevanssi is configured on your site).

Relevant Documentation:
https://toolset.com/documentation/user-guides/filtering-views-for-a-specific-text-string-search/

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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by deliap 5 years, 3 months ago.

Assisted by: Christian Cox.

Author
Posts
#1363443

Tell us what you are trying to do?
Trying to create a search on WP default fields (eg. title) instead of custom fields.

Is there any documentation that you are following?
https://toolset.com/training-course/custom-types-from-novice-to-expert/creating-custom-searches/how-to-create-a-custom-search/

Is there a similar example that we can see?
Yes, follow the link
hidden link
, but I can only search the custom fields, not the WP default field.

What is the link to your site?
hidden link

#1363559
Screen Shot 2019-10-17 at 11.00.34 AM.png

Hi, in the "Search and Pagination" panel of the View editor screen, you can find a button "Text Search", which will allow you to insert a text search field and search by post title and main content. Is that not working correctly in your case?

#1364277

My issue is resolved now. Thank you!