• Resolved harfleur

    (@harfleur)


    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)
  • I used WinGrep to find that in wp-includes/post-template.php

    Thread Starter harfleur

    (@harfleur)

    Thanks, MichaelH—much appreciated.

    Hello,

    I am newbie & a desperate man finding solution read more problem.
    I use WP 2.7.1 and standard as well.
    Here are what i did :

    1. Add new post
    2. Switch the editor to HTML view
    3. Click button more to insert <!–more–> between words
    4. Save and Upload
    But I can’t find the “read more” in the words.

    What step I missed?

    Thank you

    Please ignore my previous post. It has been solved.

    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Customizing the Read More in 2.7’ is closed to new replies.