Releases: UCF/UCF-Post-List-Shortcode
Releases · UCF/UCF-Post-List-Shortcode
Release list
v2.1.2
v2.1.1
Enhancements:
- Added adjustments to "card" layout styles:
- Updated link underline styles for compatibility with Athena v1.1.1+
- Updated wrapper link around card content to span the full height of its parent, eliminating unclickable dead space at the bottom of cards with little content
- Updated
.ucf-post-list-card-textto be wrapped in a<div>instead of<p>as a workaround for accessibility scans flagging that content for overuse of italics.
- Upgraded packages
v2.1.0
Enhancements:
- Added new shortcode attributes,
show_excerptandexcerpt_length, for toggling display of post excerpts and their lengths within supported layouts (currently, this includes the "card" layout.) Thanks @mikesetzer! - Bumped required WordPress version and "tested to" version.
- Upgraded packages and required version of node for development.
v2.0.8
v2.0.7
Enhancements
- Added late enqueuing of JS assets, and moved all scripts to the document footer.
ucf_post_list_search_script()has been modified to return empty contents and add inline initialization of typeaheads viawp_add_inline_script()instead of returning a<script>tag directly. - Renamed Typeahead and Handlebars script handles for consistency with other plugins
- Added constants for static CSS/JS URL paths
- Removed redundant
has_filter()checks when displaying post list layouts - Added absolute dirs for required files in main plugin file
- Removed ID attr on
.ucf-post-search-formwrapper elem, as it's not necessary - Upgraded packages
- Added plugin version cache-busting to plugin CSS and JS (excluding CDN'd assets)
Bug fixes
- Updated
UCF_Post_List_Config::format_option_num_or_null()to actually cast non-null values tointinstead of trying to force addition on a potentially non-numeric value
v2.0.6
v2.0.5
v2.0.4
v2.0.3
Enhancements
- Added new
$sizeattr toUCF_Post_List_Common::get_image_or_fallback, which allows you to specify the image size to retrieve. This defaults tolargeto accommodate for sites that depend on the function previously (incorrectly) returning full-sized images, while still avoiding returning huge images at least. - Added
UCF_Post_List_Common::get_image_srcset, which returns a srcset attribute to use for post list layouts that support thumbnails. The srcset generated will still depend on the uploaded image size not being enormous, but should still help reduce requested filesizes overall, particularly for mobile devices. - Updated the
cardlayout to use a srcset attribute.
Other
- Fixed typo for
tax_TAXSLUG__fieldparam in readme