Created
January 20, 2014 22:15
-
-
Save michaelcarwile/8530362 to your computer and use it in GitHub Desktop.
genesis read more link with excerpts
This file contains hidden or 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
<?php | |
//* Read more link | |
add_filter('excerpt_more', 'get_read_more_link'); | |
add_filter('the_content_more_link', 'get_read_more_link'); | |
function get_read_more_link() { | |
return ' ...<br><a href="' . get_permalink() . '">Continue Reading →</a>'; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment