Support » Themes and Templates » Main page post summaries

  • Hi all.

    I have recently started a new WordPress site and wish to mirror many aspects of my theme/design.

    One particular difficulty I have come across is getting summaries of posts displayed on it’s front page, rather than each full post being listed.

    I’ve tried mirroring various plugins used on my old site and also using the ‘option excert’ field in writing mode. Unfortunately I haven’t had much joy.

    Could you recommend a theme to install which could do what I need, or provide me with any method to do it manually?

    Thanks in advance for any help you can provide.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Does anyone have any ideas? Cheers.

    Hi Tony,

    I’ve just implemented something similar on a blog that I run. I think this is what you’re looking for. It’s on the site

    To make the change I updated the index.php file in the template I use. Make sure you have the correct template. It’s always worth saving a copy of this file before you change it if things go wrong.

    I commented out the original code using php comment tags <!– comment here –>, this keeps the original code there incase I want to change back.

    Original code in index.php in ‘mytemplate’ folder

    <?php the_content('Read the rest of
    this entry &raquo;'); ?>

    Updated with this code:

    <!-- <?php the_content('Read the rest
    of this entry &raquo;'); ?> -->
    <?php the_excerpt('Read the rest of
    this entry &raquo;'); ?>
    <a href="<?php the_permalink() ?>"
    title="full post">Read more...</a>

    This will convert all front page posts to excerpts, and provide a Read More.. link at the end of the post.

    Hope that helps,


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Main page post summaries’ is closed to new replies.