Does it annoy you that when readers click, “read more,” it jumps down to that same point in the post?
In most cases, this is a solid way of doing things, but there may be times that it either doesn’t work well with your layout, or you just don’t like it.
Maybe I’m just a weird old guy, but the “read more” jump can be confusing sometimes.
If you want to remove the “read more” jump, here’s how:
Remove the “Read More” Jump
Drop this in your functions.php or Functionality plugin:
[cc lang=”php”]function wdc_no_more_jumping($post) {
return ‘
basil says
did not worked for me 🙁
Eric Dye says
Bummer. Theme?
ryscript says
This didn’t work for me either, please update this with
function remove_jump_link($link) {
$offset = strpos($link, ‘#more-‘);
if ($offset) {
$end = strpos($link, ‘”‘,$offset);
}
if ($end) {
$link = substr_replace($link, ”, $offset, $end-$offset);
}
return $link;
}
add_filter(‘the_content_more_link’, ‘remove_jump_link’);
Hope that helps, you may find also wordpress tutorial, tip and trick on my site