[Solved] The plugin shows wrong results for search with BeTheme template
-
When you're using the BeTheme theme on your website, you may notice that sometimes the search gives really strange results.
It happens because the BeTheme has its own implementation of the search (which is very poor, btw). This search algorithm only searches queried words in post titles and post contents which gives fewer results than the WPFTS Pro search and also does not search in attachment contents etc. This BeTheme algorithm automatically disables itself in case the search query is too complex (and it can not find anything) and this is a place where WPFTS Pro becomes working freely. As a result, you can see only a small amount of results for simple queries and a lot more results for complex queries.
To solve this problem, we need to add this simple line of the code to the
functions.phpof the BeTheme (or child theme).function mfn_search( $search_query ) { return false; };This code overrides the internal "genius" search algorithm of BeTheme so it never runs.
Hope this helps!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login