Forums

CHANGE the_excerpt to the_content! (2 posts)

  1. lendikkan
    Member
    Posted 1 year ago #

    I need help! When you look under the category and archive pages you can see only an excerpt from your posts, I want everything to be seen, including pictures. I have Understood that it is something about the codes the_excerpt the_content but i cannot find them anywhere in my templates. I'm using the theme "Twenty Ten" and would love some help.
    My website is http://llinda.se

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    it is in loop.php:

    <?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' ) ); ?>

    change the first line in this area to:

    <?php if ( is_search() ) : // Only display excerpts for search. ?>

    that would still leave the excerpt to show in search results.

Topic Closed

This topic has been closed to new replies.

About this Topic