Last active
November 1, 2020 20:17
-
-
Save alfintechcomputer/bdb3f2bc7b14bdf8d91ca4dadb42f456 to your computer and use it in GitHub Desktop.
WordPress Excerpts
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
/* sets the excerpt length */ | |
function customize_the_excerpt_length() { | |
return 30; | |
} | |
add_filter('excerpt_length','customize_the_excerpt_length'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment