Jul 10, 2011

How to remove the “read more” jump

Copy the following code to your functionss.php file.

[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');
[/php]

No comments :

Post a Comment