Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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