Last active
April 16, 2019 14:18
-
-
Save wpspeak/6653189 to your computer and use it in GitHub Desktop.
Remove [...] from excerpts
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 | |
//* Remove [...] from WordPress excerpts | |
function afn_customize_excerpt_more( $more ) { | |
return ' '; | |
} | |
add_filter('excerpt_more', 'afn_customize_excerpt_more'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment