Created
February 12, 2015 16:36
-
-
Save georgioupanayiotis/a46f22d28e80e455e4a0 to your computer and use it in GitHub Desktop.
CHANGE POST EXCERPT LENGTH IN WORDPRESS
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
function your_excerpt_length( $length ) { | |
return 70; | |
} | |
add_filter( 'excerpt_length', 'your_excerpt_length' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment