Skip to content

Instantly share code, notes, and snippets.

@kimwhite
Created July 30, 2014 19:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kimwhite/90408b87c71ddfd97895 to your computer and use it in GitHub Desktop.
Save kimwhite/90408b87c71ddfd97895 to your computer and use it in GitHub Desktop.
> Read More < Show for Genesis Blog
// 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>';
}
@kimwhite
Copy link
Author

kimwhite commented Aug 5, 2014

this code goes in your themes function file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment