Gutenberg 19.9: New Style Book for Classic Themes in WordPress
The focus keyword Gutenberg 19.9 highlights the latest update to the WordPress block editor, which brings a range of new features and significant improvements for users. In this post, we’ll explore what’s new in version 19.9, especially the introduction of Style Book for Classic Themes and the new block Query Total.
Style Book comes to Classic Themes
One of the main novelties of the Gutenberg 19.9 is the introduction of Style Book for classic themes. Themes that support editor styles (via add_theme_support( 'editor-styles' )
) or that include a file theme.json
now have access to Style Book in the section Appearance > Design > Styles from the WordPress admin panel.
For classic themes that support the Style Book, the site's defaults have been relocated to Appearance > Design > Patterns, consolidating the design-related features that were previously under the section Appearance > Patterns.
New Query Total Block
Another notable feature is the new Query Total block, designed to enhance the user experience. When used within a lock Query Loop, this block displays the total number of results returned by a query or the current range in a paginated result set.
This functionality is especially useful for improving navigation and providing context to site visitors, making it easier to understand the extent of available content.
Additional Highlights and Improvements
O Gutenberg 19.9 also brings a number of developer-focused improvements, updates, and bug fixes, including:
- phpMyAdmin in wp-env: Developers can now launch the phpMyAdmin node wp-env. This automatically connects to your running MySQL database service, allowing you to inspect and manage your WordPress database during development.
- Resolution Controls for Featured Images: The block of Cover now offers resolution controls for featured image backgrounds.
- Inline Reset Button for Colors: An inline reset button has been added to all color controls, allowing users to reset colors for blocks and global styles with a single click.
- Query Block Design Options: The Query block defaults have moved from a modal interface to a dropdown menu in the “Change Design” option of the block toolbar.
- Set Homepage in the Site Editor: Users can now set their homepage directly within the Site Editor. In the Pages section, select the desired page, open the actions menu, and choose “Set as Homepage.”
Bug Fixes
Several bug fixes were also addressed in this release, including:
Problem | Solution |
---|---|
Crashes in the site editor when adding a front-page template | Fixed when clicking more options. |
Visual alignment regressions on navigation menu items within the Site Editor | Solved. |
Critical error in Style Book when blocks were not registered | Adjusted. |
List View not updating when changing editor modes | Fixed. |
O Gutenberg 19.9 It is the latest version of 2024 and represents a significant step forward for the WordPress community, bringing new features, improvements and fixes that contribute to a more fluid and effective user experience.