Make posts page show excerpts()
-
Hi everyone,
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
marques_uk
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Make posts page show excerpts()’ is closed to new replies.