Created
August 12, 2014 21:38
-
-
Save billerickson/f09f4caf6af43dae79d1 to your computer and use it in GitHub Desktop.
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 | |
/** | |
* Add Read More to Excerpts | |
* | |
*/ | |
function be_read_more_on_excerpts( $more ) { | |
return ' <a href="' . get_permalink() . '">Read More</a>'; | |
} | |
add_filter( 'excerpt_more', 'be_read_more_on_excerpts' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment