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

Man Follows An Ironic Gesture Of Literally Splitting Everything In Half After His Divorce

Realitypod

Cool Tech Gifts & Gadgets for Women: Find the Perfect Gift for Her

James Houser

This LEGO KFC Chicken Vending Machine Should Be A Necessity For All College Dorms

Realitypod