Skip to content

Instantly share code, notes, and snippets.

@WordBits
Created February 1, 2019 18:52
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 WordBits/b6d35d66195c0dfd4e54b6710b8bb9ca to your computer and use it in GitHub Desktop.
Save WordBits/b6d35d66195c0dfd4e54b6710b8bb9ca to your computer and use it in GitHub Desktop.
Change [...] to Read More » on Genesis sites
<?php
// Download this snippet as a plugin and more at: https://wordbits.io/snippet/change-to-read-more/
// Created by: Liam Dempsey
?>
<?php
//* Modify the Genesis content limit read more link
add_filter( 'get_the_content_more_link', 'sp_read_more_link' );
function sp_read_more_link() {
return '... <a class="more-link" href="' . get_permalink() . '">[Read More &raquo;]</a>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment