Skip to content

Instantly share code, notes, and snippets.

@katmoody
Created January 2, 2014 02:16
Show Gist options
  • Save katmoody/8214042 to your computer and use it in GitHub Desktop.
Save katmoody/8214042 to your computer and use it in GitHub Desktop.
Add Read More Link to Excerpts in Wordpress From http://flyingchangewebs.com/adding-the-read-more-link-in-genesis/
// Add Read More Link to Excerpts
add_filter('excerpt_more', 'get_read_more_link');
add_filter( 'the_content_more_link', 'get_read_more_link' );
function get_read_more_link() {
return '...&nbsp;<a href="' . get_permalink() . '">[Read&nbsp;More]</a>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment