Skip Navigation

[Resolved] Search in Views not working

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 6 replies, has 1 voice.

Last updated by Minesh 1 month, 1 week ago.

Assisted by: Minesh.

Author
Posts
#2783314

Tell us what you are trying to do?
I have a page and there are views. In the views are displayed custom post types "products".
But if u try to search the content of them are not getting found.

U can see it here:
hidden link

i use ajax search lite.

#2783387

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

We do not have any official integration with Ajax search lite.

Here is a Doc that shows information how you can implement text search:
- https://toolset.com/course-lesson/searching-texts-in-custom-fields-with-toolset-and-relevanssi/
- https://toolset.com/documentation/legacy-features/views-plugin/filtering-views-for-a-specific-text-string-search/

What if you try to implement the text search as demonstrated with the above Doc and check.

#2783431

thx. u wrote about searching in custom fields. but its not custom fields its just content and page title from custom post type.
my view dont have the option what u show in ur second link. my view only has the taxonomies.

#2783469

Minesh
Supporter

Languages: English (English )

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

Well - You can set the filter to filter view by the text string:
- https://toolset.com/course-lesson/filtering-custom-lists-of-posts/#filtering-by-text-string

Have you added the text search filter to your view and can you please check without ajax lite plugin.

#2783479
Bildschirm­foto 2024-11-13 um 11.53.29.png

I dont heave the options for post type filter. only tex search.

#2783486

Minesh
Supporter

Languages: English (English )

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

Can you please share admin access details and what view you created for text search.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2783489

---

#2783490

Minesh
Supporter

Languages: English (English )

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

I have set the next reply to private which means only you and I have access to it.

#2783501

Minesh
Supporter

Languages: English (English )

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

Sorry but I'm not sure how exactly you want to make search working.

I see you are using global search and for global search result is displayed by the theme.

When I checked the archive listing page - I see you only created the taxonomy archive that is "Produktkategorien (taxonomy archive)":
- hidden link

I believe even if you disable the Toolset plugins you will get the same results as you do not created search result archive using Toolset.

Normally, if you created the search result archive using Toolset, when you use global search it will display the output using search result archive you created using Toolset.

I've created the following search result archive and it only displays the post link within the archive loop.
- hidden link

I checked you are using Genesis child theme and with that the search result archive created using Toolset is not working.

But when I switched and activated the Genesis parent theme and when I search I can see it output the result using search result archive created using Toolset:
- hidden link

I still not see the product posts in the search result but to investigate further I suggest you should deactivate all third-party plugins and check with default theme and try to setup search result archive and then try to perform the search.

#2783502

Please check my video what i made to the begin. there u can see exactly the issue.

#2783503

Minesh
Supporter

Languages: English (English )

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

Yes - I already checked the video, you should check with basics and the way you explained, in that case it will not find that product as Toolset is not involved in global search.

Toolset will involve in global search only when you create search result archive.

#2783505

so u saw that the search is not working with text in view?
and u mean it works if i make a search template from toolset?

#2783966

Minesh
Supporter

Languages: English (English )

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

You are using global search.

If you are using global search without creating search result archive, then Toolset is not involve in that case, as you are using global search feature of WordPress.

If you create Search Result archive using Toolset, then you are overriding the Search Result page using Toolset to display information on Search Result page as per your requirement.

What if you disable the Toolset plugin and then try to perform search, Do you see the same result?

#2783968

ok so i will try.

where i find the document for the toolset search archive template?

#2784295

Minesh
Supporter

Languages: English (English )

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