How to remove “read more” / “continue reading” scrolling in WordPress

This is default functionality of wordpress that when you will click on read more or continue reading, it will show you complete content of that blog but it will scroll down to content you earlier read.So how to prevent this functionality,  its very easy.

In your theme folder and inside functions.php file write this code :-

function remove_more_link_scroll( $link ) {
$link = preg_replace( ‘|#more-[0-9]+|’, ”, $link );
return $link;
}
add_filter( ‘the_content_more_link’, ‘remove_more_link_scroll’ );

This code will resolve your problem.