Created
April 24, 2012 16:11
-
-
Save baczoni/2481075 to your computer and use it in GitHub Desktop.
Wordpress: Remove 'Read more' jump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment