Skip to content

Instantly share code, notes, and snippets.

@AntoscencoVladimir
Created April 15, 2016 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AntoscencoVladimir/9696bebc3d3dd895709d986706f3e443 to your computer and use it in GitHub Desktop.
Save AntoscencoVladimir/9696bebc3d3dd895709d986706f3e443 to your computer and use it in GitHub Desktop.
Delete anchor from Read more tag
// Delete anchor from Read more tag
function no_more_jumping($post)
{
return '<a href="' . get_permalink($post->ID) . '" class="read-more">' . 'Read more &raquo;' . '</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