Codex tools: Log in
Generates an excerpt from the content, if needed.
The excerpt word amount will be 55 words and if the amount is greater than that, then the string ' [...]' will be appended to the excerpt. If the string is less than 55 words, then the content will be returned as is.
<?php wp_trim_excerpt( $text ) ?>
wp_trim_excerpt() is located in