Tag Archives: limit word

Snippet: Limit words on a string

Add following snippet to “functions.php” Usage: limit_words($content,50); Returns: $content trimmed to 50 words. Snippet