Support » Fixing WordPress » Excerpts with 2010?

  • Resolved WebTrooper

    (@webtrooper)


    I’m sorry if this has been asked before, but this forum doesn’t seem to have much in the way of search options. I’m trying to figure out how to display excerpts on home page and archives, using the default twenty ten theme. Prefer that theme because it’s not all customized – just plain and simple, like a fresh canvas to create upon. However, it appears the only option is to display posts in their entirety on the front page and archives pages. I’m somewhat visually impaired so searching the entire wordpress website (which seems to be the only option – and no sorting options either) is really difficult for me. Any advice would be greatly appreciated.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    to change CONTENT to EXCERPT, replace “content” with excerpt in the following line, around line#138 in loop.php

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

    Thanks you t-p. it never crossed my mind to look in loop.php. I’m still reading through the docs and trying my best to learn my way around.

    Have a wonderful day! =)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Excerpts with 2010?’ is closed to new replies.