Modify 'Read more...' link
The following snippet changes the generated code and the text for the ‘Read more’ link:
// Change read more link
add_filter( 'the_content_more_link', 'modified_excerpt_more' );
add_filter( 'excerpt_more', 'modified_excerpt_more' );
add_filter( 'get_the_content_more_link', 'modified_excerpt_more' );
function modified_excerpt_more($more) {
return '<a class="more-link" href="' . get_permalink() . '">Continue reading...</a>';
}
When using the Genesis Framework, you have to use one of the three filters specified in the snippet above. The required filter depends on the archive settings (show content / show excerpt / show X chars from content).