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

    I don't see excerpt in Thrive Nouveau theme

    Scheduled Pinned Locked Moved Recipes and Known Solutions
    thrive nouveauthemeexcerpt
    1 Posts 1 Posters 741 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

      I noticed that the Thrive Nouveau theme does not show post/page excerpts by default and, yes, it also does not show any preview of indexed and found file content.

      The reason for this is very simple: the theme does not show excerpts at all, and it is inside its template. So is it possible to fix that?

      Yes, what we actually should do is switch to the Thrive Nouveau Child theme (since we going to change theme files and we don't want these changes to be overwritten by the next theme update).

      Right after the switching, find the file content-search.php which is inside the template-parts subfolder, and then copy it to the same subfolder of the Child theme.

      Then you have to open this file into your lovely text editor and add one line of the code after line 15:

      <?php the_excerpt(); ?>
      

      So final file content should look like this:

      <?php
      /**
       * The template part for displaying results in search pages.
       *
       * Learn more: http://codex.wordpress.org/Template_Hierarchy
       *
       * @package thrive
       */
      
      ?>
      
      <div id="post-<?php the_ID(); ?>" <?php post_class(array('entry-search')); ?>>
      
      	<div class="entry-search-inner-wrap">
      		<?php the_title( sprintf( '<h1 class="h3 search-entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
      		<?php the_excerpt(); ?> <!-- <<<=== We have just added this line! -->
      		<?php thrive_posted_on(); ?>
      	</div>
      	
      </div><!-- #post-## -->
      

      That's all. Just save the file and check - now you should to see native beautiful-looking WPFTS Pro's excerpt!

      Hope this was useful.

      https://e-wm.org

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

      Suggested Topics

      • EpsilonAdminE

        Slow search on a site based on Divi Theme

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

        [Solved] No excerpts shown in search results in Storefront theme

        Watching Ignoring Scheduled Pinned Locked Moved Recipes and Known Solutions storefront theme excerpt fix
        1
        0 Votes
        1 Posts
        827 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
        641 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
        826 Views
        No one has replied
      • EpsilonAdminE

        [Solved] Incompatibility with Flatbase theme

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