Studiopress have announced that, after loads of months of work, that the Studiopress Genesis Framework 2.5 framework is now available and ready for all us users to download, and upgrade.
In Genesis 2.4, the process of expanding the Markup API to allow for nearly universal markup control was started inline with WordPress development.
Through the Genesis filters, we can now modify the HTML element, modify the attributes, add additional microdata, or disable the output completely.
A big one was also removing the legacy XHTML from the main output functions: The output logic is now its own file, which doesn’t load unless you’re running an older theme that doesn’t support HTML5.
Genesis 2.5 has continued to add new elements to the list of those that have been passed through the Markup API and it will extract and delete more & more of those last bits of old XHTML logic, into the bargain.
In addition, we’ve tried to extract large blocks of HTML that were previously mixed in with large blocks of PHP in order to move them into their own files. We call these “views,” and they now have their own directory. They are named sensibly, so locating the code you want to see should be super-simple.
Studiopress Genesis Framework 2.5 – A Big Update
Studiopress Genesis Framework 2.5 is a big update release. There’s a lot to love about it, from new filters and helper functions, to more plugin compatibility, an expanded layout engine, full support for the new WordPress title tag feature, and accessibility improvements.
Feel safe and update now!
We have updated 24 of our clients sites and not ONE hiccup happened, so feel safe to go ahead and push that UPDATE button.
The great thing of course is that with the CHILD system of themes, you don;t ever lose any of your customisations in your design. AWESOME!
The Geeky Stuff
To see here’s a list of the Geeky stuff updated and improved in Studiopress Genesis Framework 2.5:
- Added instances of markup API use in several locations where it was previously not used
- Added any missed xHTML markup to the xHTML markup filter
viewsdirectory and extracted output to organized view files
- Added full support for the new WordPress title tag
- Added slashing for user script input fields
- Added primary category support when Yoast SEO is on, but breadcrumb feature is off
- Added support for multiple layout types depending on context
- Added script loader class
- Added ability to specify location of entry scripts via a second option
- Added filter for capability required to use CPT archive settings
- Added filter to disable layout settings on CPT archive settings page
- Added sanitizer for layout settings on CPT archive settings page
- Added a posts page check to
- Added filter for entry content display options in the customizer
- Added terms back to terms array in our terms filter
- Added center alignment option to featured image alignment setting
- Added more filters to breadcrumb class
- Split featured post and page widget entry header markup, gave markup API context for each
- Prevention of smushed offscreen accessible text
- Stripped tags from filtered credits text to avoid paragraph nesting
- Standardized the context naming in widget markup
- Flagged entry markup as
is_widgetvia the params array so it can be modified without affecting other entries
- Restored new line between admin screen buttons
- Improvements to composer, PHPCS, and unit tests
- Switch all schema.org URLs to
- Formally deprecate
- Improved CSS
- Improved code optimization and documentation
- Ensure skip links filter returns an array
- Improved randomness of search form ID
- Fixed potential issue with footer scripts filter
- Moved aria-label to the
element so screen readers will announce it
- Added capability check to CPT archive settings link in the toolbar
- Refactored and improved archive headings
- Fixed typo in comments feed setting
- Removed semantic headings SEO option, with fallback for backward compatibility
backtotopoutput if HTML5 is on
- Removed output buffering on search form
- Removed unnecessary title on skip links