Apr 16, 2014

Excerpt Function

So this template runs a custom excerpt function, you simply call excerpt($length); to return the content trimmed to your length. It also does some cool things like respect paragraphs which WordPress’ standard the_excerpt(); function does not.

So what’s changed? Lists were previously not considered and ended up not being surrounded in paragraph tags so we’d have some escaped content. Now lists are respected for better handling of the excerpt.