Created
October 17, 2014 08:56
-
-
Save mattradford/8dddecd677cfc9fc559e to your computer and use it in GitHub Desktop.
Trim excerpt using built in function
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
wp_trim_words( $text, 55, ‘…’ ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment