• Hi, everyone. My site is https://www.ishouldworkonthehobbit.com

    On the Home page, I want each article to show a few lines, and then a “Continue Reading” link. Right now it’s showing the entire article, which makes the page extremely long and annoying to read.

    Does anyone know how I can correct this? I’m just using the Twenty-Ten theme. Other Twenty-Ten themed sites I’ve seen have the Continue Reading link automatically. I didn’t adjust anything but I don’t have that feature.

    Any help would be great.

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

    (@t-p)

    in loop.php of your theme, look for this around line #138:

    </div><!-- .entry-summary -->
    	<?php else : ?>
    			<div class="entry-content">
    				<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
    				<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
    			</div><!-- .entry-content -->
    	<?php endif; ?>

    try replacing <?php the_content with <?php the_excerpt

    but beware all your customizations will be lost when you update your WP installation next time. So perhaps you want to consider creating a child theme.

Viewing 1 replies (of 1 total)
  • The topic ‘Continue Reading link not appearing’ is closed to new replies.