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

    [Solved] Incompatibility with Flatbase theme

    Scheduled Pinned Locked Moved Recipes and Known Solutions
    flatbaseexcerpttheme
    1 Posts 1 Posters 723 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

      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.
      

      Solution:

      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!

      https://e-wm.org

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

      Suggested Topics

      • EpsilonAdminE

        [Solved] EduMall theme does not show Smart Excerpts and broken the search results page

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

        [Solved] The Astra theme does not show Smart Excerpt for files

        Watching Ignoring Scheduled Pinned Locked Moved Recipes and Known Solutions
        1
        0 Votes
        1 Posts
        936 Views
        No one has replied
      • 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
        724 Views
        No one has replied
      • EpsilonAdminE

        [Solved] Media Library Folders Pro indexing issue

        Watching Ignoring Scheduled Pinned Locked Moved Recipes and Known Solutions fix mlf media library folders
        1
        0 Votes
        1 Posts
        795 Views
        No one has replied
      • EpsilonAdminE

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

        Watching Ignoring Scheduled Pinned Locked Moved Recipes and Known Solutions betheme theme
        1
        0 Votes
        1 Posts
        815 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