David,
I was able to resolve this, but admittedly it seems like a bit of hack. In a more recent version of the Swift Framework:
function sf_custom_excerpt( $custom_content, $limit ) {
$content = explode( ' ', $custom_content, $limit );
Was changed to:
function sf_custom_excerpt( $custom_content, $limit ) {
$content = wp_trim_words( $custom_content, $limit );
Form some reason wp_trim_words
strips the HTML content in the Custom Excerpt where as explode
leaves it intact. It would be great to understand why the change. Also, would love to do this via a function in functions.php instead of overwriting the core files. Initially I was looking at updating the_excerpt()
to allow for specific HTML tags, until I realized you are using your own custom excerpts.
Thank you!