Created
August 27, 2018 12:20
-
-
Save deeman/dcb10637fbb45df774de2b812d2d0fa7 to your computer and use it in GitHub Desktop.
Genesis Framework - Modify read more link
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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