Excerpt with settings on per-function basis. Made for WordPress.