Skip to content

Instantly share code, notes, and snippets.

@jaredatch
Created February 18, 2014 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaredatch/9080438 to your computer and use it in GitHub Desktop.
Save jaredatch/9080438 to your computer and use it in GitHub Desktop.
<?php
/**
* Customize "Read More" text
*
* @since 1.0.0
* @param string $link
* @return string
*/
function ja_read_more_text( $link ) {
return str_replace( '[Read more...]', 'Continue', $link );
}
add_filter( 'get_the_content_more_link', 'ja_read_more_text' );
add_filter( 'the_content_more_link', 'ja_read_more_text' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment