How to Remove Read More jump

When ever you are reading a article and then you click on Read More you are thrown from away from the starting to avoid this we are going to use this Hack to get the post from the starting instead of getting jumped

We are jumped normally because if you closely observe the link of Read More you can see it in the below structure

http://your-domain.tld/Post-slug/#more-Post-ID

#more-Post-ID creates a jump mostly its because the page is not fully loaded, so to remove jump we will remove that #more-Post-ID by the below code just paste it in functions.php :

function wdc_no_more_jumping($post) {
     return '<a href="'.get_permalink($post->ID).'" class="read-more">'.'Continue Reading'.'</a>';
}
add_filter('excerpt_more', 'wdc_no_more_jumping');

Subscribe to WPDEN

@