REALITYPOD
Realitypod

Changing “Read More” Text in WordPress Blog

The “more” or “read more” tag in wordpress, is really helpful to keep a tidy looking blog interface. It helps you to define a portion of post to be displayed on the main page. But what if you want to change the text of this “read more” tag. Well, the following hack will help you achieve it








Step 1

Open your functions.php file

Step 2

Paste the following code

<?php

$custom_more = "Continue reading this post";
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, $custom_more, $more_link );
}
?>

Thats all. By defining text in “$custom_more”, in the code above, you can have the desired custom text.

Related posts

Eerily Luminescent Eggshell Art

Realitypod

Robots that can mimic anything [With Video]

Realitypod

Ring Security Drone: In-Home Security Threat or Peace of Mind?

James Houser