Skip to content

Instantly share code, notes, and snippets.

@tiberiur
Created April 13, 2016 11:59
Show Gist options
  • Save tiberiur/bbaaca695770ef530e9435ef04ec7390 to your computer and use it in GitHub Desktop.
Save tiberiur/bbaaca695770ef530e9435ef04ec7390 to your computer and use it in GitHub Desktop.
[WP] Modify 'read more' link
function modify_read_more_link() {
return '<a class="post__link" href="' . get_permalink() . '">Read more &rsaquo;</a>';
}
add_filter( 'the_content_more_link', 'modify_read_more_link' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment