Working with excerpts in WordPress, or why isn’t this filter working?
If you call get_the_excerpt() WordPress returns a string that looks like an excerpt – but it might not be . If your post doesn’t have a handcrafted excerpt, WordPress returns an automatically generated word-counted trimmed-down version of the full post content – and this may not be what you want. Here’s how I tweaked the code to get post excerpts as I wanted them.
Cross-posted from edinburghwp.com