Created
October 29, 2013 12:11
-
-
Save shemul49rmc/7213521 to your computer and use it in GitHub Desktop.
Modify “Read More…” Text
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
/**Modify “Read More…” Text**http://iamshemul.com/?p=2395 **/ | |
add_filter( 'excerpt_more', 'child_read_more_link' ); | |
add_filter( 'get_the_content_more_link', 'child_read_more_link' ); | |
add_filter( 'the_content_more_link', 'child_read_more_link' ); | |
function child_read_more_link() { | |
return '… <a class="more-link" href="' . get_permalink() . '" rel="nofollow">Continue Reading …</a>';} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment