Skip to content

Releases: UCF/UCF-WordPress-Theme

v0.7.3

01 Nov 17:07
Compare
Choose a tag to compare
v0.7.3 Pre-release
Pre-release

Enhancements:

  • Media background video adjustments:
    • Ported over media background video updates from the Main Site theme (ensure aria-hidden="true" is set on header <video>s, and that preload and autoplay attributes are properly handled + videos don't unintentionally get loaded at the -xs breakpoint)
    • Added a new ucfwp_media_background_video_viewport_min_width hook, which lets child themes/plugins control the minimum browser width at which header videos should be displayed
  • Person post list layout accessibility improvements:
    • Updated the "person" post list layout provided by the theme to remove full email addresses + replace with a "Email" link with envelope icon, without text clipping
    • Updated how profile links are wrapped around each list item so that list items linking out to a profile can still display an "Email" link
  • Added a setting to specify if jQuery should be loaded in the document head or footer (defaults to the footer--a change from prior theme versions)
  • Upgraded packages, including Font Awesome; re-ran gulp

Deprecated:

  • Deprecated after_body_open hook in favor of wp_body_open

Full Changelog: v0.7.2...v0.7.3

v0.7.2

06 May 14:36
Compare
Choose a tag to compare
v0.7.2 Pre-release
Pre-release

Enhancements:

  • Upgraded packages, including Athena Framework and Font Awesome 5, to latest versions

v0.7.1

22 Feb 14:31
Compare
Choose a tag to compare
v0.7.1 Pre-release
Pre-release

Enhancements:

  • Added inline min-height, background-color to UCF Header placeholder elem to reduce layout shift on load.
  • Added Customizer option for specifying additional domains that should be dns-prefetch'ed.
  • Made some small adjustments in ucfwp_enqueue_frontend_assets() to ensure webfonts are enqueued as dependencies for the main theme stylesheet.
  • Bumped jQuery to latest 3.x release.
  • Added preloading of Cloud.Typography CSS key or fallback Athena sans-serif font files, and Font Awesome font files (if enabled). Preloaded Athena fonts and Font Awesome fonts can be modified with the ucfwp_preload_athena_fallback_fonts and ucfwp_preload_font_awesome_fonts filter hooks, respectively.
  • Cleaned up some old update_option() calls to use option_${option_name} filter hooks instead.
  • Updated how Font Awesome 5 fonts are stored in the theme--now, to ensure older versions of FA5 font files are cache-busted with new releases, the font files in static/fonts/ are prefixed with a specific version number (e.g. static/fonts/font-awesome-5/5.15.2/....
  • Added PHP functions that retrieve the path to Font Awesome 5 font files (and for other packages) for the sake of preloading. (ucfwp_get_theme_packages(), ucfwp_get_theme_package_version(), ucfwp_get_font_awesome_5_font_url())
  • Upgraded packages, including Font Awesome 5.

Other:

  • Removed unused wp-a11y enqueue.

v0.7.0

13 May 15:45
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release

Enhancements:

  • Removed Font Awesome and references to mixins/variables from the main theme stylesheet. References to FA icons in the theme have been replaced with inline SVG pseudo-elements.
  • Added two separate stylesheets for Font Awesome 4 and 5, and a customizer option for toggling which version to load (default 4, for backward compatibility). FA can also be disabled entirely.

Accessibility improvements:

  • Added a unique ARIA label to the site <header> and <footer> elements.

v0.6.3

03 Apr 20:50
Compare
Choose a tag to compare
v0.6.3 Pre-release
Pre-release

Enhancements:

  • Added functions for determining what type of element to wrap the site title within the primary navigation in, as well as the title text within the page header, instead of relying solely on is_home() || is_front_page(). See #83.
  • Upgraded packages to latest versions.

v0.6.2

14 Feb 20:47
Compare
Choose a tag to compare
v0.6.2 Pre-release
Pre-release

Enhancements:

  • Replaced <section>s used in the footer template part’s inner columns with <div>s.
  • Modified wrapper element around a single person’s name in a person list from <h3> to <strong>.

Documentation:

  • Updated the contributing doc to reflect the switch from slack to teams.

v0.6.1

22 Jan 16:57
Compare
Choose a tag to compare
v0.6.1 Pre-release
Pre-release

Enhancements:

  • Cleaned up code that overrides allowed HTML tags and attributes in post content, wrapping the definitions within a filter (see ucfwp_kses_allowed_html())
  • Added <picture> and <source> as valid HTML tags in post content to support markup for Athena media backgrounds. Note that WP core still does not have complete support for the srcset attribute at time of writing, so certain uses of srcset may still be filtered outside of our control.

v0.6.0

19 Nov 18:04
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release

This update includes changes to the theme's ACF config. Unless you're using a child theme that defines a custom set of fields, you should re-import the theme's ACF config after upgrading the theme on your site.


Enhancements:

  • Added ACF interface for defining custom subnav menu items per-page. You can now choose to generate a page subnav automatically (default) or define each nav item manually.
  • Removed UCF Social custom styles, since they've been ported over to the UCF Social plugin as of v3.0.2.
  • Updated attachment links referenced throughout the WordPress admin to link directly to an individual file, instead of a single attachment view (which, in this theme, is disabled by default, and redirects back to the site homepage.) See #68 for an example.
  • Added cross-browser support for the lazysizes js library against media backgrounds. The theme doesn't include lazysizes out of the box, but this update helps provide compatibility with the equivalent lazysizes WordPress plugin, if lazy-loading of image assets is desired.
  • Upgraded packages to latest versions, including the Athena Framework and the jscookie lib (used for storing header bg video play/pause settings).

Bug fixes:

  • Adds missing breaks in the outer switch cases in _ucfwp_get_template_part().
  • Removed redundant role attributes on section and nav elements.
  • Applied grammar fixes in the theme's 404 template.

v0.5.4

14 Nov 17:06
Compare
Choose a tag to compare
v0.5.4 Pre-release
Pre-release

Bugfixes:

  • Fixed an issue with file includes causing fatal errors in WP 5.3.

v0.5.3

31 Jul 13:28
Compare
Choose a tag to compare
v0.5.3 Pre-release
Pre-release

Bug fixes:

  • Fixed card and modern news layout text colors against dark backgrounds

Enhancements:

  • Upgraded packages