Skip to content

Instantly share code, notes, and snippets.

@deeman
Created August 27, 2018 12:20
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 deeman/dcb10637fbb45df774de2b812d2d0fa7 to your computer and use it in GitHub Desktop.
Save deeman/dcb10637fbb45df774de2b812d2d0fa7 to your computer and use it in GitHub Desktop.
Genesis Framework - Modify read more link
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//* Modify the Genesis Franework 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() . '">Continue Reading →</a>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment