Get WPFTS Pro today with 50% discount!

[Solved] Incompatibility with Flatbase theme

  • Issue Description:

    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 of this issue is because the Flatbase theme is using it's 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 the line 89. You should to find this code there:

    <?php nice_excerpt(); ?>

    please change this to

    <?php the_excerpt(); ?>

    This change should help. To show correct excerpt in the search results.

Log in to reply