Skip to content

Instantly share code, notes, and snippets.

@deanputney
Created June 30, 2013 22:34
Show Gist options
  • Save deanputney/5897264 to your computer and use it in GitHub Desktop.
Save deanputney/5897264 to your computer and use it in GitHub Desktop.
function new_excerpt_more( $more ) {
return ' <a class="read-more" href="'. get_permalink( get_the_ID() ) . '">[...]</a>';
}
add_filter( 'excerpt_more', 'new_excerpt_more' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment