Last active
January 2, 2016 11:19
-
-
Save quangbahoa/8295447 to your computer and use it in GitHub Desktop.
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
echo wp_trim_words( get_the_content(), 120 ); // Dành cho content | |
echo wp_trim_words( get_the_excerpt(), 60 ); // Dành cho excerpt | |
echo wp_trim_words( get_the_title(), 40 ); // Dành cho title |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment