GeneratePress and GP Premium both received updates this month. These were pretty significant feature updates, with the highlight being the rebuilt Page Header add-on.
The Page Header add-on has been rebuilt from the ground up. This rebuild allows us to create re-usable Page Headers, and apply them to our posts (individually, or globally), blog, 404 page, search results, categories and just about anywhere else you can imagine.
All Pages & Posts
Page Headers now accept template tags, meaning we can build a template and apply it to every single one of our pages, posts, or any other single custom post type template.
This means you can build a Page Header that automatically grabs the post title, date, author, categories, even custom fields, and apply that Page Header to all of your posts.
Doing this will give your posts an awesome page header, and of course remove the post title and any other meta used in the Page Header from the body of the post.
You can even build a Page Header which merges with your site header, and apply it to every single page.
In the example below, our page title is being added to our page header automatically.
You can also see a custom field, which we’ve added to our Page Header template.
You can learn more about template tags here.
Gone are the days of building your blog Page Header in the Customizer. Not only was this confusing, but it doubled the amount of needed code, and was a completely different building experience from the meta box. Now we can just build a re-usable Page Header, and apply it to the Blog in the Global Locations page.
Yes, this means we can now create a Page Header for individual taxonomies like categories or tags!
Custom Post Types
Ever want to build a Page Header for your WooCommerce Shop page? They can now be applied to any custom post type archive.
Google Font Variants
Before this update, we would load every available Google Font variant for your chosen Google Fonts. This is because we didn’t know which variants you needed – maybe you need ultra light text? Super bold? Italic? Italic bold?
This was the “safe” option, but wasn’t ideal for performance. For every variant selected, a different font file needs to be downloaded from Google when you visit a page.
Now, you can choose exactly what variants you want to load, which can drastically increase your page speed.
You can learn more about Google font variants here.
More Customizer Options
More options aren’t always a good thing, but this release includes a handful of necessary options that have been missing from the Customizer experience in GP.
- Full H4 & H5 options
- Full button options
- Full footer/copyright options
- Heading (H1, H2 etc..) line height
- Widget title bottom margin
- Back to top button colors
- H4 & H5 colors