So on my blog, the goal is to show summaries on the homepage, then obviously when you click to read the individual post, it displays the full text.
My index php calls upon ‘loop.php’ so this code below is in loop.php.
<div class="entry-content"> <?php the_excerpt( __( 'Continue reading <span class="meta-nav">→</span>', 'boilerplate' ) ); ?> <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'boilerplate' ), 'after' => '</div>' ) ); ?> </div><!-- .entry-content --> <?php endif; ?>
When I change, ‘the_excerpt’ to ‘the_content’ it changes to full length, across the whole site. When this is on ‘the_excerpt’ it changes the whole site to only showing excerpts, even when I click on the single post.
Is there a final command that I can input to fix this temporarily until I can find the root of this?
- The topic ‘Summaries on Homepage, not site-wide’ is closed to new replies.