Releases: washingtonstateuniversity/hrs.wsu.edu
Feature image template fix
Feature images on pages were behaving unexpectedly depending on which parent theme template was selected. To correct this:
- Silenced output of the
featured-images.php
template part. - Removed unwanted parent theme page templates from the editor template selection menu.
Also fixed #53 to stop encoding all HTML content in featured image captions.
Template updates and fixes
Update the single page view templates to move the featured image out of the "hero" position and into the article content. Also includes some bug fixes:
Update get terms methods
Updated the get terms methods to separate their concerns more cleanly and use argument arrays and print formatting instead of concatenation.
Quick fixes mostly styles
Page template updates
This release changes the default page template slightly and includes adjustments to the pagination display method and default content width on pages.
New methods to list recent posts
This release includes a new shortcode and template tag to display a limited number of recent posts on any page on the site, filtered by HRS Unit and/or category.
Search menu JS fixes
Fixes two issues with the JS handling of the search menu:
- Adds focus visibility to the search menu close button for visual keyboard users.
- Adds a noscript element to handle display of the search menu when JS is disabled.
Update NPM dependencies
Upgraded several NPM dependencies.
Add Posts Home and Pagination
Adds a custom posts home page that displays the latest and/or stickiest post as a feature, the four next-most-recent posts as sub-features, and the rest as a standard list. It also includes a "reminders" category that will display a list of reminders (which will also be excluded from the standard posts archive to avoid duplication, but not excluded from term archives). Also adds pagination for all archive templates.
Add Archive Templates
This release includes a variety of updates, but the most significant among them are:
- Creates a new taxonomy to organize posts by HRS Unit.
- Adds two new templates for archive displays: One for displaying posts with an HRS Unit term, and another for displaying all other archive types. Also includes updated styles for these layouts.
- Adds a theme setup filter that hooks into the Spine parent theme to define the HRS child theme's default Spine options.