Skip to content

v0.2.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@cjg89 cjg89 released this 23 Jan 20:35
· 268 commits to master since this 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