How to Change the WordPress Read More […] Text

One frequently asked question that users pose is “How do I change the WordPress […] text on post excerpts?”

In many cases, not only do people ask about changing the text, but they would also like to turn the text into a link to the post. Add one of the code snippets below to your functions.php and you will achieve your desired goal.

add_filter( 'the_excerpt', 'vmf_read_more_custom_excerpt' );
function vmf_read_more_custom_excerpt( $text ) {
	if ( strpos( $text, '[…]') ) {
		$excerpt = str_replace( '[…]', '[Read More…]', $text );
	} else {
		$excerpt = $text;
	}
	return $excerpt;
}
add_filter( 'the_excerpt', 'vmf_read_more_custom_excerpt' );
function vmf_read_more_custom_excerpt( $text ) {
	if ( strpos( $text, '[…]') ) {
		$excerpt = str_replace( '[…]', '[Read More…]', $text );
	} else {
		$excerpt = $text;
	}
	return $excerpt;
}

You can also use these snippets for content limited excerpts by changing “the_excerpt” in the add-filter statement to “the_content_limit”.