Instead return to the top of the page. You know how when you click “read more” it will jump to the spot in the page which can be annoying, this makes it just load the page normally, no jumping!
function remove_more_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_more_jump_link');