do you want to have the excerpts showing on the front page?
if so, edit loop.php, find:
<?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 : ?>
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
<?php endif; ?>
change the first line of the above into:
<?php if ( is_home() || is_front_page() || is_archive() || is_search() ) : // Only display excerpts for front page, archives and search. ?>
Hi I have set up a ‘news page’ as I have a static home page. so the front page to my posts is called news.
Will I need to change another part of this loop?
Thanks
yes the news is a template page. I just moved it to make a static homepage.
So is the correct amend to your code so it will work with my news page this
<?php if ( is_page_template('news.php') || is_front_page('news') || is_archive() || is_search() ) : // Only display excerpts for front page, archives and search. ?>
thanks