Last active
January 18, 2016 15:50
-
-
Save AntoscencoVladimir/6f6d0da674e61e851ae1 to your computer and use it in GitHub Desktop.
Delete anchor from "More" tag Wordpress
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 no_more_jumping($post) { | |
return '<a href="'.get_permalink($post->ID).'" class="read-more">'.'Читать далее »'.'</a>'; | |
} | |
add_filter('the_content_more_link', 'no_more_jumping'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment