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

Some Safety Measures to Keep Your IPhone Secure

Realitypod

Kids Read To Shelter Dogs To Calm Them & Practice Their Reading Skills At The Same Time

Realitypod

Robotic Fly Takes Flight

Realitypod