“read on” link on excepts
-
I have made a small modification after some complains from my visitors that it wasn’t clear enough to them that they had to click on the excerpt title to read the full post in the archives. I have changed the default […] text to a [read on] link to the full article. Here is the code:
In wp-includes/functions-formatting.php on line 719 change:
array_push($words, '[...]');
to:
array_push($words, '[<a href="'.get_permalink().'" rel="bookmark" title="Permanent Link to '.$post->post_title.'">read on</a>]');
I hope you find this useful.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘“read on” link on excepts’ is closed to new replies.