Im trying to remove the link jump in the more link. Found some info at:
http://codex.wordpress.org/Customizing_the_Read_More
I tried exchanging:
. "#more-$id\">$more_link_text</a>";
with
."\">$more_link_text</a>";
But the more link structure does not change. I cleared my browser cache.
When i compare the instruction source code with my version 2.3.2 live code there seems to be some difference. In my code there is some if else code.
wprockstar
Member
Posted 4 years ago #
just remove the text inside the curly brackets from the_content
<?php the_content(''); ?>
Is that what your talking about?
I want the read more same as article link. Not a added /#more-XXX.
You made the correct change. Are you running wp-cache or wp-super-cache? You'll need to clear them too if you are.
In post-template.php:
$output .= ' <a href="'. get_permalink() . "#more-$id\" class=\"more-link\">$more_link_text</a>";
becomes:
$output .= ' <a href="'. get_permalink() . "\" class=\"more-link\">$more_link_text</a>";