Skip to content

Instantly share code, notes, and snippets.

@tomharrigan
Created January 12, 2013 08:32
Show Gist options
  • Select an option

  • Save tomharrigan/4516768 to your computer and use it in GitHub Desktop.

Select an option

Save tomharrigan/4516768 to your computer and use it in GitHub Desktop.
function new_excerpt_more($more) {
global $post;
return ' <a href="'. get_permalink($post->ID) . '">...more</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