BChurch and bSocial
From IThemes Codex
Contents |
How to add a clickable 'Read more' link below posts on front page
- Before and After
1. Take a backup of index.php
2. Edit it in a text editor.
Replace all instances of
<?php the_excerpt_rss(); ?>
with
<?php
$my_excerpt = get_the_excerpt();
$my_excerpt = str_replace(' [...]', ' <div class="readmore"><a href="' . get_permalink() . '">Read More...</a></div>', $my_excerpt);
echo $my_excerpt;
?>
Source: http://wordpress.org/support/topic/how-to-make-display-a-link-in-the_excerpt-?replies=3
3. Add the following at the end of your theme's style.css:
.readmore {
font-weight: bold;
margin-top: 5px;
font-size: 11px;
}