The UCF Post List SC plugin v2.1.0 will add support for new show_excerpt and excerpt_length shortcode attributes (see https://github.com/UCF/UCF-Post-List-Shortcode/pull/38). The news layout built for this theme already utilizes its own show_excerpt attribute, and will be compatible with this update, but could be updated to support excerpt length adjustments.
Why it's Important
To reduce confusion and ensure we're supporting available shortcode attributes where appropriate.
Description
The UCF Post List SC plugin v2.1.0 will add support for new
show_excerpt
andexcerpt_length
shortcode attributes (see https://github.com/UCF/UCF-Post-List-Shortcode/pull/38). Thenews
layout built for this theme already utilizes its ownshow_excerpt
attribute, and will be compatible with this update, but could be updated to support excerpt length adjustments.Why it's Important
To reduce confusion and ensure we're supporting available shortcode attributes where appropriate.
Alternatives
n/a
Possible Implementation
false
)ucfwp_post_list_display_news()
to supportexcerpt_length
attribute. https://github.com/UCF/UCF-WordPress-Theme/blob/master/includes/post-list-functions.php#L232-L237 Logic in this snippet may need to be tweaked a bit to support these existing layout-specific filters as well asUCF_Post_List_Common::get_excerpt()
Additional context
n/a