• Resolved michaeloc

    (@michaeloc)


    Hi I have been struggling to get a solution to this.

    I have set up a 2011 child theme and added several custom post types.

    I would like each entry to show a summary with a read more link, which links to the full entry on it’s own page

    in content.php I can see that it is using the following code, can anyone advise how I can edit the code to display an excerpt and readmore link when it’s on an index page and a the full content when on it’s own page

    ‘ <div class=”entry-content”>
    <?php the_content(); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘twentyeleven’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>
    </div><!– .entry-content –>’

Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘showing summary and continue reading link for twenty eleven theme’ is closed to new replies.