Skip to content

Instantly share code, notes, and snippets.

@rsharrer
Created September 26, 2013 13:46
Show Gist options
  • Select an option

  • Save rsharrer/6714450 to your computer and use it in GitHub Desktop.

Select an option

Save rsharrer/6714450 to your computer and use it in GitHub Desktop.
Changing the WordPress Read More Text
$custom_morelink = "Continue Reading the Full Article";
function change_more_link($more_link, $more_link_text) {
return str_replace($more_link_text, $custom_morelink, $more_link);
}
add_filter('the_content_more_link', 'change_more_link', 10, 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment