WPFTS Pro Main Site WPFTS Community Forum
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    Get WPFTS Pro today with 25% discount!

    [Solved] The plugin shows wrong results for search with BeTheme template

    Scheduled Pinned Locked Moved Recipes and Known Solutions
    bethemetheme
    1 Posts 1 Posters 821 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • EpsilonAdminE
      EpsilonAdmin
      last edited by EpsilonAdmin

      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!

      https://e-wm.org

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Suggested Topics

      • EpsilonAdminE

        [Solved] Exclude some PDF from results when using Download Monitor

        Watching Ignoring Scheduled Pinned Locked Moved Recipes and Known Solutions
        1
        0 Votes
        1 Posts
        731 Views
        No one has replied
      • EpsilonAdminE

        How to search file by content when using PDFViewer plugin

        Watching Ignoring Scheduled Pinned Locked Moved Recipes and Known Solutions embedded pdf embedpdf pdfviewer search pdf
        1
        0 Votes
        1 Posts
        715 Views
        No one has replied
      • EpsilonAdminE

        [Solved] Does not show Smart Excerpt with Total Theme

        Watching Ignoring Scheduled Pinned Locked Moved Recipes and Known Solutions smart excerpt total theme theme
        1
        0 Votes
        1 Posts
        640 Views
        No one has replied
      • EpsilonAdminE

        [Solved] Files not shown in TemplateToaster theme search results

        Watching Ignoring Scheduled Pinned Locked Moved Recipes and Known Solutions templatetoaster theme search
        1
        0 Votes
        1 Posts
        689 Views
        No one has replied
      • EpsilonAdminE

        [Solved] WP Knowledgebase publications (kbe_knowledgebase) do not show in search results

        Watching Ignoring Scheduled Pinned Locked Moved Recipes and Known Solutions knowledgebase kbe
        1
        0 Votes
        1 Posts
        707 Views
        No one has replied

      Additional Resources

      • My Account
      • Buy WPFTS Pro
      • Community Forum
      • Affiliate Program
      • Privacy Policy
      • Terms & Conditions
      • Contact Us
      • Coupon Partner

      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