Here’s a few code snippets for customizing the WordPress Read More link displayed in post content (with the <!--more-->
tag) and post archives. For the most part, customizing the link is pretty straightforward but users sometimes run into problems when using custom excerpts (excerpts written by hand rather than generated by WordPress) because they aren’t aware that the link has to be appended to the excerpt. This gist includes the code to do this as well as change the Read More link text when post content is used rather than excerpts.
How to Customize the WordPress Read More Link
Unless otherwise noted, any code snippet in this post goes in your theme's functions.php file or a plugin for your custom functions.
Christoph says
Thanks for putting this on one page / in one gist, Ren.
Just the other day I helped somebody on a forum customize the read more link and now I have one resource to refer them to.
Ren says
No problem! Thanks for sharing, Christoph.