Get WPFTS Pro today with 25% discount!

  • One client asked me when using the Flatbase theme with WPFTS Pro to search files by content. He says:

    After installing your plugin, I have searched for the word "operational" and have received the pure HTML code in search results:

    <div class="wpfts-result-item"><div class="wpfts-smart-excerpt"></div> 
    <div class="wpfts-not-found"><span> Not found: <s>operational</s></span></div> 
    <div class="wpfts-bottom-row"><span class="wpfts-scor.


    The reason for this issue is because the Flatbase theme is using its own excerpt processing. We need to override this.
    Please open the file search.php in the root of your theme (you can use flatbase-child theme too) and scroll to line 89. You should find this code there:

    <?php nice_excerpt(); ?>

    please change this to

    <?php the_excerpt(); ?>

    This change should help. To show the correct excerpt in the search results.
    If this does not work for you, please put a comment!

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.


The forum powered by NodeBB | Contributors