• aymie

    (@aymie)


    I read through the forums, found out about the <!–more–> and <!–noteaser–> and altered the $output code in my wp-includes/template-functions-post.php all to get the excerpt on my main page to start at the beginning again when the more link is clicked…but it’s not working…it still starts at the place where <!–more–> and <!–noteaser–> is written, am I missing something?

    This is what I have:

    In my write up:

    my teaser text here
    <!–more–>
    <!–noteaser–>
    the rest of my text here

    I replaced in my file:

    wp-includes/template-functions-post.php

    $output .= ' <a href="'. get_permalink()
    . "#more-$id\">$more_link_text</a>";

    to this:

    $output .= ' <a href="'. get_permalink()
    .'">$more_link_text</a>';

    so now it’s also echoing $more_link_text instead of more… and I followed the instructions at http://codex.wordpress.org/Customizing_the_Read_More
    I can’t figure out where I went wrong.

Viewing 1 replies (of 1 total)
  • Thread Starter aymie

    (@aymie)

    btw don’t know if the wordpress site owners picked this up, but the first $output code is written incorrectly at the customizing_the_Read_More link, it’s missing a couple of the ‘ marks, it’s copied straight from the site–I picked it up when trying to get my more link to show.

    Anyways I managed to get “More…” link showing instead of the $more_link_text that was showing, but it’s still not giving me the FULL text when More… is clicked.I’ve tried playing around with it, but no avail, any ideas?

Viewing 1 replies (of 1 total)

The topic ‘The more link….’ is closed to new replies.