What Is New in WordPress 6.7
| Category | Key Highlights |
|---|---|
| New Features | Font Library, Background Image in Group block, Data Views for Patterns & Templates |
| Block Editor Improvements | Renaming Group blocks, Distraction Free mode, Design tweaks |
| Developer Experience | Interactivity API, Block Binding API, WP_HTML_Tag_Processor |
| Performance | Lazy-loading for iframes, Script loading strategies |
| Accessibility | Improved aria-labels, List View enhancements |
What's the big deal with the new Font Library?
WordPress 6.7 introduces a centralized Font Library, a game-changer for managing typography. You can now install, remove, and activate local and Google Fonts directly from the site editor. This finally brings native font management to core, eliminating the need for many third-party plugins.
In practice, this means you have a single, consistent interface for handling fonts across your entire site. It works seamlessly with global styles, letting you assign fonts to elements without touching code.
How does the Interactivity API change frontend development?
The Interactivity API moves from a plugin to core, providing a standard way to add client-side interactivity to blocks. It offers a simplified alternative to writing full React components for common tasks like toggles, popovers, or image galleries.
This matters because it creates a more consistent developer experience and can lead to better performance. You get interactivity without the overhead of a larger framework, making it ideal for blocks that need simple JavaScript enhancements.
What improvements did the Block Editor get?
Interface and Usability
You can now rename Group blocks directly from the list view, making complex layouts much easier to navigate. A new Distraction Free mode hides all UI chrome except the canvas and toolbar, helping content creators focus.
New Block Features
The Group block gains background image support, expanding its design possibilities. Data Views have been extended to patterns and templates, offering grid and table layouts for managing these assets.
What new tools are available for developers?
The Block Binding API allows you to connect block attributes to custom fields, a foundational step for dynamic content in blocks. The WP_HTML_Tag_Processor class gets major upgrades for safer and more efficient HTML manipulation.
For performance, native lazy-loading for iframes is now supported out of the box. New script loading strategies like defer and async give you more control over asset loading behavior.
Were there any accessibility wins?
Yes, several key areas saw improvements. The List View now includes more descriptive aria-labels, making it easier for screen reader users to understand the structure of content. These are incremental but important steps toward a more inclusive editing experience.
FAQ
Is the Font Library compatible with my existing theme's font system?
It should integrate smoothly, but you might need to reassign fonts within the global styles interface if your theme used a custom method. The new system uses standard CSS custom properties for font families.
Can I use the Interactivity API with my custom blocks today?
Absolutely. The API is now in core and stable for production use. It's specifically designed for developers creating blocks that need client-side behavior without the complexity of a full React setup.
How does the Block Binding API work with ACF or Meta Box?
The API provides the foundation. You'll need to write the connection logic to map block attributes to your custom field values. This is a powerful first step toward native dynamic block support for popular custom field plugins.
What's the performance impact of lazy-loading iframes?
It's a net positive. Offscreen iframes (like embedded videos or maps) won't load until needed, reducing initial page load time and bandwidth usage. This happens automatically for iframes without a loading attribute.
Should I stop using my current HTML processing methods in favor of WP_HTML_Tag_Processor?
If you're doing complex HTML manipulation in PHP, it's worth migrating. The class is faster and more reliable than regex and provides a standardized, safe way to modify HTML attributes and content.