[Resolved] Make posts page show excerpts()
I have yet another excerpts question.
Is there a way to make all your posts on the main blog page excerpts rather than show full posts?
I’m using the loop.php file from the twentyten theme, I can change the_content() function to the_excerpt() however that just makes all posts excerpts rather than just the posts page as expected.
Is there a way to edit the code below so it includes the page listed as the posts page in Settings > Reading?
<?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?> <div class="entry-summary"> <?php the_excerpt(); ?> </div><!-- .entry-summary --> <?php else : ?>
Thanks in advance
- The topic ‘[Resolved] Make posts page show excerpts()’ is closed to new replies.