Customizing the Read More in 2.7
-
In the past, I’ve always been able to change the behavior of the “read more” link by following the instructions on this page in the Codex and editing wp-includes/template-functions-post.php. But template-functions-post is gone in 2.7, and I’m wondering if anyone can tell me where the equivalent lines now appear.
What I want to do specifically is to make the “read more” link take the reader to the top of the post rather than to the point where the #more anchor appears. In the past that’s involved changing the line
$output .= ' <a href="'. get_permalink() . "#more-$id\">$more_link_text</a>";
in template-functions-post by deleting the reference to #more-$id.
Anyone know where I can do that in 2.7? Thanks in advance…
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Customizing the Read More in 2.7’ is closed to new replies.