Skip to content

v0.5.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@cjg89 cjg89 released this 17 Apr 14:23
· 212 commits to master since this release

Enhancements:

  • Pagination: Added pagination to the main index.php loop, as well as opintionated pagination functions and styles. See #50.
  • Conditional <header> tag: Added a conditional content print in header.php and the header_content-custom.php template part, which allows the ucfwp_get_header_markup and ucfwp_get_header_content_markup filters to return empty contents and subsequently prevent an empty <header> tag from being printed at the top of the document.
  • Responsive image max srcset size: Added a wrapper function for wp_get_attachment_image() called ucfwp_get_attachment_image(), which forces the maximum width in the image's generated srcset to not exceed the requested image dimensions. See #54
  • Support per-alert URLs and CTAs: Updated the faicon alert layout to remove references to deleted UCF Alert Plugin options and support per-alert URLs and call-to-action text. Supports the UCF Alert Plugin v2.0.0+.

Accessibility improvements:

  • Added a default background color of #797979 on .header-media when no .bg-* modifier classes are also present on the element. Helps ensure that black and white text within media headers is readable when a header video/image fails to load.
  • Removed the title attribute from decorative images in person post lists to prevent conflicts with empty alt attributes.

Bug fixes:

  • Updated header title logic to return the correct title text for author and year/month/day-based archives, when those archives are re-enabled by a child theme
  • Updated default nav template to only display the mobile toggle button if a menu is set. See #51
  • Added small fix for the thumbnail_captions attribute on our [gallery] shortcode overrides, since it wasn't properly getting filtered as a boolean value before