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

Here’s What a Race Car Exploding at 300 Miles Per Hour Looks Like

Realitypod

8 Things That Are More Likely To Happen Than Winning The Lottery

Realitypod

Can Handsome People Get Away With Anything? All Eyes On The Mugshot That Broke The Internet.

Realitypod