Created
April 15, 2016 18:56
-
-
Save AntoscencoVladimir/9696bebc3d3dd895709d986706f3e443 to your computer and use it in GitHub Desktop.
Delete anchor from Read more tag
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
// Delete anchor from Read more tag | |
function no_more_jumping($post) | |
{ | |
return '<a href="' . get_permalink($post->ID) . '" class="read-more">' . '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