Created
April 16, 2017 22:19
-
-
Save douglasanro/1444212ae53d0124351dec42e030a20d to your computer and use it in GitHub Desktop.
Change WordPress more excerpt
This file contains hidden or 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 | |
/* ---------------------------------------------------------------------------- | |
* Change more excerpt | |
* ------------------------------------------------------------------------- */ | |
function custom_more_excerpt( $more ) { | |
return '...'; | |
} | |
add_filter( 'excerpt_more', 'custom_more_excerpt' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment