Forum Replies Created

Viewing 1 replies (of 1 total)
  • roblav

    (@roblav)

    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 https://www.fireschool.org.uk/

    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,

    Rob

Viewing 1 replies (of 1 total)