Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter KiroNasir

    (@kironasir)

    manage to sort it, for anyone else looking its within content.php

    within a child theme changed is_search() section to the following

    <?php if ( is_home() || is_search() ) : ?>
    	<div class="entry-summary">
    		<?php the_excerpt( __( 'Continue reading', 'flat' ) ); ?>
    		<p><a class="btn btn-sm btn-success" href="<?php the_permalink(); ?>">Read The Full Review</a>
    	</div>
    	<?php else : ?>
    	<div class="entry-content">
    		<?php the_content( __( 'Continue reading', 'flat' ) ); ?>
    		<?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'flat' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
    	</div>
    	<?php endif; ?>

    rienkvanommen

    (@rienkvanommen)

    Had this issue also, and was searching for a solution for hours (also tried other solutions as discussed in this Support forum). But this one did actually worked for me!
    Thanks KiroNasir!

    Ps. I am working with version 1.4.3

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘excerpt’ is closed to new replies.