Created
July 30, 2014 19:38
-
-
Save kimwhite/90408b87c71ddfd97895 to your computer and use it in GitHub Desktop.
> Read More < Show for Genesis Blog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 '... <a href="' . get_permalink() . '">[Read More]</a>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this code goes in your themes function file