Get WPFTS Pro today with 25% discount!

[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.php of 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!

Suggested Topics

Be the first to read the news!

We are always improving our products, adding new functions and fixes. Subscribe now to be the first to get the updates and stay informed about our sales! We are not spammy. Seriously.

Join Us Now!

We are a professional IT-team. Many of us have been working in a Web IT field for more than 10 years. Our advanced experience of software development has been employed in the creation of the WordPress FullText Search plugin. All solutions implemented into the plugin have been used for 5 or more years in over 60 different web-projects.

We are looking forward to your comments, requests and suggestions in relation to the current plugin and future updates.

ewm-logo-450

The forum powered by NodeBB | Contributors