GeneratePress 2.1 has been released!
Font Awesome
Font Awesome will no longer be updated in GeneratePress as of 2.1. If you have Font Awesome enabled on your site, it will continue to work as normal. If it's deactivated, the "Load essential icons" option in the Customizer will no longer be visible.
Instead of using Font Awesome within the theme, we suggest using a plugin like Better Font Awesome.
If you'd like to learn how to add Font Awesome 5 yourself, please see this article.
New Icons
Instead of using Font Awesome for our theme icons, we had brand new custom icons created specifically for GeneratePress. These icons are more modern than the previous Font Awesome 4 icons.
Huge thanks to Peter and Paul from The Dickiebirds Studio for designing these for us!
Fewer HTTP Requests
We were able to optimize and move things around, which resulted in 2 fewer HTTP requests. This means when you first install GeneratePress, there's only 5 HTTP requests (3 CSS, 2 JS).
Cleaner CSS
We cleaned up style.css a bit, and removed any Secondary Navigation specific CSS, which was added to GP Premium 1.6. If you're using the Secondary Navigation and don't have GPP 1.6, open a support topic and we'll provide the necessary CSS for you.
We also removed a couple wildcard selectors, which were a little greedy and causing some weirdness with some plugins. More specific selectors are now used, which will reduce conflicts.
Easier Updated Date
The updated date HTML has been moved in front of the published date HTML, which should help Google pick up on it easier. It also makes it easier to display the updated date instead of the published date.
.posted-on .updated {
display: inline-block;
}
.posted-on .updated:before {
content: "Last Updated ";
}
.posted-on .updated + .entry-date {
display: none;
}
Simplified Mobile Menu CSS
The mobile menu CSS has been simplified, which will make it much easier to initiate the mobile menu at a different width than the default.
Full Changelog
- New: Structured data to comments
- New: aria-label to sidebar navigation mobile menu
- New: Update all theme icons
- New: generate_metabox_tabs filter
- New: generate_after_footer hook
- New: generate_before_comments_container hook
- Tweak: Simplify mobile menu CSS
- Tweak: Load updated date before published date
- Tweak: Force array in Layout metabox to prevent PHP notices
- Tweak: Use https for schema.org references
- Tweak: Replace wildcard CSS selectors with specific selectors
- Tweak: Remove list item bullets in sidebar and footer widgets only
- Tweak: Make button/input line height consistent with link buttons
- Tweak: Add version to database for future migrations
- Tweak: Move back to top button to generate_after_footer
- Tweak: Remove focus class from menu items on click if leaving site
- Tweak: Keep tab focus inside navigation search when open
- Tweak: Remove roles from sidebars
- Fix: Sidebar sub-menu positioning after click
- Fix: Rare Customizer JS error related to typography
- Fix: Various small W3 errors
- Fix: Navigation aria-hidden issue
- Remove: Font Awesome Essentials HTTP request
- Remove: dropdown.js HTTP request
- Remove: IE6 CSS
- Remove: Secondary navigation CSS added to GPP 1.6
- Remove: Secondary navigation JS
The post GeneratePress 2.1 appeared first on GeneratePress.