Reply To: Read More Tag — How to display a text link?

#21002
Daniel Tara
Keymaster

Sorry, I made a typo in the code above. Here is the correct code:

add_filter( 'the_excerpt', 'pinboard_excerpt_read_more' );

function pinboard_excerpt_read_more( $excerpt ) {
    return str_replace( '</p>', ' <a href="' . get_permalink() . '" rel="bookmark">Read More &rarr;</a></p>', $excerpt );
}