Return to Snippet

Revision: 24302
at February 25, 2010 13:01 by Xtraboy


Initial Code
<?php

add_filter( 'the_content_more_link', 'my_more_link', 10, 2 );

function my_more_link( $more_link, $more_link_text ) {
	return str_replace( $more_link_text, 'Continue reading &rarr;', $more_link );
}

?>

Initial URL
http://justintadlock.com/archives/2009/07/01/how-to-filter-a-wordpress-themes-more-link-text

Initial Description
Add to functions.php file.

Initial Title
How to filter a WordPress theme’s ‘more link’ text

Initial Tags
php, link, wordpress, text

Initial Language
PHP