v0.5.0
Pre-release
Pre-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 inheader.php
and theheader_content-custom.php
template part, which allows theucfwp_get_header_markup
anducfwp_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 forwp_get_attachment_image()
calleducfwp_get_attachment_image()
, which forces the maximum width in the image's generatedsrcset
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 emptyalt
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