The more link….
-
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 hereI 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.
The topic ‘The more link….’ is closed to new replies.