Skip to content

Releases: UCF/UCF-WordPress-Theme

v0.5.2

29 May 19:38
Compare
Choose a tag to compare
v0.5.2 Pre-release
Pre-release

Enhancements:

  • Added new layout for the UCF Post List Shortcode plugin, "news", which displays posts in a news-like layout with optional thumbnails, excerpt text, and subhead text
  • Updated default excerpt trailing text from "[..]" to "..."
  • Added utility function ucfwp_get_excerpt() for retrieving a post's excerpt with an optional custom length
  • Upgraded packages to latest versions, including the Athena Framework

v0.5.1

19 Apr 15:00
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release

Enhancements:

  • Upgraded packages, including the Athena Framework, to their latest versions (Athena: v1.0.4 -> v1.0.5).

v0.5.0

17 Apr 14:23
Compare
Choose a tag to compare
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 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

v0.4.0

25 Feb 17:38
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Enhancements:

  • Refactored how headers, navbars, and footers are loaded to utilize template parts. See #48 for more details.

Upgrade notice:

Please note that the following functions have been deprecated as of v0.4.0, and will be removed in a future major release. If you're using any of these functions in a child theme, you should remove/replace them:

Deprecated function name Potential Alternative
ucfwp_get_object_id() Function was unused; no alternatives available
ucfwp_get_object_field_id() Pass the entire queried object to get_field() instead
ucfwp_get_header_content_title_subtitle() Use ucfwp_get_header_content_markup() instead
ucfwp_get_header_content_custom() Use ucfwp_get_header_content_markup() instead
ucfwp_get_header_media_markup() Use ucfwp_get_header_markup() instead
ucfwp_get_header_default_markup() Use ucfwp_get_header_markup() instead
ucfwp_get_mainsite_menu() Use ucfwp_get_nav_markup() instead

v0.3.0

11 Feb 16:15
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Enhancements:

  • Removed references to comments and link notifications in the theme, as we've decided not to support them (based on feedback from other developers and on our team's experience, the majority of sites using this theme don't require comments and benefit from them being disabled). Child themes will be able to remove this action and create + add their own comment template if comments are needed.
  • Upgraded Athena Framework to v1.0.4 and upgraded other npm packages to latest versions.

v0.2.7

23 Jan 20:35
Compare
Choose a tag to compare
v0.2.7 Pre-release
Pre-release

Bugfixes:

  • Fixed incorrect usage of add_filter() when registering theucfwp_add_favicon_default action

Enhancements:

  • Updated logic in ucfwp_get_header_title() to more closely match how WordPress generates a page title in wp_get_document_title(). Support for titles in templates that are disabled by default (e.g. author, date-based views) in ucfwp_kill_unused_templates() has been added in case a child theme re-enables a template.
  • Added returns after ucfwp_get_header_images_before, ucfwp_get_header_videos_before, ucfwp_get_header_title_before, and ucfwp_get_header_subtitle_before to allow these hooks to properly short-circuit the rest of their containing functions when filters are provided.
  • Added aria-label to top-level <nav>'s generated by the theme.
  • Added post-theme activation logic to warn the user if ACF PRO isn't installed, and revert back to the last active theme.

Other:

  • Fixed version number @since references in source code
  • Added CONTRIBUTING file and Github issue + PR templates
  • Added linter config updates to be up to date with what's provided in the CM-Project-Templates repo
  • Updated gulpfile for linter errors and consistency with CM-Project-Templates
  • Fixed sass lint errors in the project
  • Updated README to reference new wiki documentation

v0.2.6

12 Dec 21:44
Compare
Choose a tag to compare
v0.2.6 Pre-release
Pre-release

Enhancements:

  • Removed unused gulp-add-src dependency
  • Replaced gulp-scss-lint with gulp-sass-lint

v0.2.5

03 Dec 21:50
Compare
Choose a tag to compare
v0.2.5 Pre-release
Pre-release

Enhancements:

  • Theme mod retrieval updates:
    • Updated theme mod retrieval functions to allow other defaults sets to be referenced (for child themes and their own customizer settings)
    • Simplified ucfwp_get_theme_mod_or_default() by utilizing get_theme_mod()'s $default param.
  • Media background display overrides:
    • Added hooks for specifying a data-object-position attribute value on media headers. Allows child themes to provide polyfilled media background object-positions to re-position header images/videos as screen sizes expand or contract.
    • Made ucfwp_get_media_background_picture() and ucfwp_get_media_background_video() pluggable.
    • Added hook that allows ucfwp_get_media_background_picture_srcs()'s returned value to be modified.
  • Updated included jQuery script to be enqueued earlier to help ensure it has loaded for dependent plugins that don't explicitly define it as a dependency
  • Updates the Athena Framework, Babel, and other packages to their latest versions.

v0.2.4

26 Oct 14:16
Compare
Choose a tag to compare
v0.2.4 Pre-release
Pre-release

Bug fixes:

  • Added rule to globally hide empty <p> tags to prevent undesirable post content formatting
  • Fixed Sass linter warning in src/scss/_person.scss
  • Updated 'modern' Academic Calendar layout to respect empty 'title' attr
  • Fixed issue where the UCF WP Theme's enqueued css's version number would include the child theme's version number at the end of the stylesheet url, instead of the UCF WP Theme version number, if used as a parent theme
  • Added ellipses to Person email addresses when displayed in the 'people' UCF Post List layout to prevent overflow
  • Removed invalid alt text on Person thumbnails when displayed in the 'people' UCF Post List layout

Enhancements:

  • Updated site title in primary nav to be wrapped in a <h1> on the homepage; updated header markup functions to use a <h2> for the main page heading on the homepage
  • Made person-related functions in this theme pluggable

Other:

  • Bumped WP and PHP installation required versions

v0.2.3

26 Oct 14:07
Compare
Choose a tag to compare
v0.2.3 Pre-release
Pre-release

Bug fixes:

  • Added UCFWP_ prefix to THEME_CUSTOMIZER_DEFAULTS constant to prevent conflicts with child themes
  • Fixed transparency behind typeaheads against non-white backgrounds

Enhancements:

  • Update theme readme with plugin links