Created
November 3, 2017 07:10
-
-
Save pvphong90/5059027c1e491ccddc44e200b19bc296 to your computer and use it in GitHub Desktop.
Tùy chỉnh độ dài của chữ
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 custom_excerpt_length($length) { | |
return 30; | |
} | |
add_filter('excerpt_length', 'custom_excerpt_length'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment