Created
June 6, 2012 16:36
-
-
Save habibmac/2883120 to your computer and use it in GitHub Desktop.
WP: Change the length of 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
function new_excerpt_length($length) { | |
return 100; | |
} | |
add_filter('excerpt_length', 'new_excerpt_length'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment