How to remove the “read more” jump

Paste the following snippet into your functions.php file:

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');

Thanks to Alex Denning for the cool tip!

Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!

How to remove the “read more” jump

Leave a Reply

Your email address will not be published. Required fields are marked *