How to show the whole post in a TwentyTen WordPress theme

How to show integral posts (the whole post without the “continue reading” link) in a TwentyTen WordPress template with a child theme.

Copy the original TwentyTen “loop.php” file to your child theme folder.
Open in the WordPress Dashboard: Appearance > Editor > loop.php

Search for:

<?php if ( is_archive() || is_search() ) : // Display excerpts for archives and search. ?>
	<div class="entry-summary">
		<?php the_excerpt(); ?>
	</div><!-- .entry-summary -->

Replace “the_excerpt” for “the_content”. Update file.

It should look like this:

<?php if ( is_archive() || is_search() ) : // Display excerpts for archives and search. ?>
	<div class="entry-summary">
		<?php the_content(); ?>
	</div><!-- .entry-summary -->

That’s it.

I’m writing this here for future reference and for anyone that is as lost as I was in the forums. Holly fishsticks, it took me a while.


PS – This blog is currently on the TwentyEleven theme but PhotoDudette.com is on the TwentyTen.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.