Created
January 2, 2015 15:25
-
-
Save leepettijohn/f5d766473084b73a6f6e to your computer and use it in GitHub Desktop.
Changing Read More Links in Blog Page
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
// Edit the read more link text | |
add_filter('get_the_content_more_link', 'custom_read_more_link'); | |
add_filter('the_content_more_link', 'custom_read_more_link'); | |
function custom_read_more_link() { | |
return ' <a class="more-link" href="' . get_permalink() . '">Keep Reading …</a>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment