Skip to content

Instantly share code, notes, and snippets.

@nandomoreirame
Last active July 16, 2018 02:43
Show Gist options
  • Select an option

  • Save nandomoreirame/c64c8411fca13b711762cd868f1efbb7 to your computer and use it in GitHub Desktop.

Select an option

Save nandomoreirame/c64c8411fca13b711762cd868f1efbb7 to your computer and use it in GitHub Desktop.
WP Remove the “read more” jump
<?php
function themeNoMoreJumping($post) {
return '<a href="'.get_permalink($post->ID).'" class="read-more">'.'Continue Reading'.'</a>';
}
add_filter('excerpt_more', 'themeNoMoreJumping');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment