Today, I discovered that WordPress 3.3 actually has a similar core function called wp_trim_words(). The function works like so:
Viewing 1 to 4 of 4 items
Add Excerpts to Page
Drop this line in your active theme’s functions.php file and you’re good to go… probably forever!
Conditional Excerpt with custom read more link
Peter put this piece of code together for digital coffee websites. It detects if there is and excerpt or not and adds in a custom read more link to the article. This code elimates a common issue experienced with excerpts where the more link is always on a new line. The use of variables circumvents Full Article…