Skip to content

Releases: UCF/UCF-Post-List-Shortcode

v2.1.2

Choose a tag to compare

@jmbarne3 jmbarne3 released this 22 Mar 14:01
3a7c358

Enhancements:

  • Added composer file.

v2.1.1

Choose a tag to compare

@cjg89 cjg89 released this 11 Mar 17:12

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-text to 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

Choose a tag to compare

@cjg89 cjg89 released this 01 Dec 21:27

Enhancements:

  • Added new shortcode attributes, show_excerpt and excerpt_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

Choose a tag to compare

@jmbarne3 jmbarne3 released this 15 Feb 17:17

Bug Fixes:

  • Readds the default markup on layout filters to ensure backwards compatibility.

v2.0.7

Choose a tag to compare

@cjg89 cjg89 released this 29 Jan 14:31

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 via wp_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-form wrapper 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 to int instead of trying to force addition on a potentially non-numeric value

v2.0.6

Choose a tag to compare

@cjg89 cjg89 released this 03 Oct 17:18
dbd1a9d

Enhancements:

  • Added Github Plugin URI

v2.0.5

Choose a tag to compare

@cjg89 cjg89 released this 03 Oct 17:18
46e5d64

Bug fixes:

  • Updated random_int to rand for backwards compatibility

v2.0.4

Choose a tag to compare

@cadie cadie released this 19 Feb 16:14

Enhancements:

  • Adds the option to apply filters to the shortcode attributes that are available per layout.

v2.0.3

Choose a tag to compare

@cjg89 cjg89 released this 05 Dec 15:49

Enhancements

  • Added new $size attr to UCF_Post_List_Common::get_image_or_fallback, which allows you to specify the image size to retrieve. This defaults to large to 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 card layout to use a srcset attribute.

Other

  • Fixed typo for tax_TAXSLUG__field param in readme

v2.0.2

Choose a tag to compare

@jmbarne3 jmbarne3 released this 27 Aug 19:07

Bug Fixes:

  • Updated formatting callback for post_parent from a boolean to integer.