Created
December 12, 2016 07:25
-
-
Save sudipbd/a11f2c93451913a840bd748d9b7b6a3a to your computer and use it in GitHub Desktop.
WordPress excerpt length
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 90; | |
} | |
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