Created
September 26, 2013 13:46
-
-
Save rsharrer/6714450 to your computer and use it in GitHub Desktop.
Changing the WordPress Read More Text
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
| $custom_morelink = "Continue Reading the Full Article"; | |
| function change_more_link($more_link, $more_link_text) { | |
| return str_replace($more_link_text, $custom_morelink, $more_link); | |
| } | |
| add_filter('the_content_more_link', 'change_more_link', 10, 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment