What's New What's New WordPress 6.7

-sidebar-toc> -language-notice>
WordPress 6.7 will be close to being released. Now is the best time to review the new possibilities, features and features that the newest version will bring to users.
The latest version comes with 87 improvements to the core along with enhancement requests along with over 200 fixes for bugs.
Eight Gutenberg versions, that range from 18.6 and up 19.3 along with 19.3 are included in WordPress 6.7's base. Block editor is upgraded with new features, as well as fixes for issues, as well as 55 accessibility improvements.
Developers can benefit from new APIs that are both powerful and efficient. They are the heart of. Editor's interface is updated with several improvements and improvements, including tools that were previously restricted to code. Improved usability as well as innovative tools for design will accelerate the process of designing.
There are many exciting new additions and enhancements to WordPress 6.7 We've picked the ones we think to be the most thrilling for designers and for users. There's a lot to discuss in this article, so take a look at the latest updates.
Zoom out mode
WordPress 6.7 features a new zoom-out mode which lets you create and update your site's content by using patterns rather than particular blocks. It allows you to work more efficiently and provides a full overview of the page's design.
These images demonstrate the way in which this feature operates. The new feature toggle Zoom Out option located in the upper toolbar allows you to toggle on and off the Zoom Out view off and on, which lets users work with designs or even individual blocks in many different methods.


If the Zoom Out mode has been disabled, you'll be able to perform a variety of actions on the pattern you have selected. The toolbar for blocks has controls to slide, Move up/down and the ability to shuffle. The List view contains hyperlinks to various actions such as Edit, Duplicate as well as Delete the pattern that you've picked.

If you've got Zoom Out turned on, the Block Inserter is set to default the Tab with patterns. The List view will also reflect the editing mode, and will display patterns instead of blocks.
To read a comprehensive overview of the latest enhancements and features with the Zoom out mode, please refer to this article on the Zoom Out Mode iteration Problem as well as Developer Notes regarding Zoom Out within WordPress 6.7.
Meta boxes in the Post editor
In the past the versions 6.7 Meta boxes prevented the Post Editor canvas from loading within frames. This was why some advantages were not offered like the segregation of block and theme CSS as well as editor's UI, and the exactness of the CSS units for media queries and viewport. This limitation hindered the usage of the same CSS that was used in both editor and front-end views.
As of WordPress 6.7 The meta box for editors and content can be integrated into editors' interface. Due to the brand new split-view which allows editors use the Post editor's canvas to load in an iframe regardless of the fact that your page or post has at least an metabox. According to the Dev Note:
This update ensures a similar WYSIWYG user experience for both the Editor, as well as the display on the front end. Additionally, it makes meta boxes far more accessible that they used to be. This allows visual references to every part of the information as you work in the meta boxes or vice versa.

The program makes use of it's flexibility
in order to allow the metabox view and other areas accessible for scrolling.
This update contains a variety modifications that affect the Post editor interface. Post editor interface.
- The height of the Meta box is limited to 50% in default, to avoid it becoming too big and taking up the entire area.
- The area of the meta box can be expanded and is able to be rearranged depending on the viewport's height.
- The state of the resized length as well as the status of closed and open are both permanent in the user's preferences.

Take a look at the notes on development for a greater description of the requirements for the developers.
Improvements to the Block Bindings API
WordPress 6.7 provides us with improved capabilities and updates that were created by Block Bindings API. Bindings API, and a new default interface for managing post meta sources.
New Block Bindings added to the UI
This version introduces a brand fresh interface for managing Block Bindings in the Settings tab, using the post meta-built-in block binding source. This is available under the block bindings tab. Heading and Paragraphs, as well as Button Blocks Heading, Image and Button Blocks.
After you've registered your custom fields and selected one of the blocks that can support them, the newly created attribute panel will show up on the sidebar of block settings. If you're creating or customizing fields for your posts, the Attributes panel is now interactive. It lets you attach the attributes of your block to your custom fields.

It allows you to create bindings through the addition of code in the code editor.
As default, only admins are able to modify or make bindings. Developers can override the default behavior using the block_editor_settings_all
or map_meta_cap
filters.
The note from the developer warns users of two potential issues in the recently released attribute interface.
- The ability to connect the attributes of blocks to sources that can be customized isn't possible with this release. The enhancement will be available in the next version.
- A different issue concerns the variety of kinds of custom fields that appear in the attributes panel. At present the moment, only fields that are types strings and text rich fields are accessible. Also, we are able to anticipate a gradual introduction for various types of fields that are custom made in the coming versions.
Check out the Dev Note to find out more about the fascinating use-case of an enhanced Block Bindings API with custom post templates.
New post meta label attribute
The brand-new label
attribute was added to the plugin. This attribute lets plugin developers create a customized label for the meta fields they submit during registration. Now, you can utilize the following code in order to register your fields that have been designed using labels:
register_post_meta( 'post', 'book_title', array( 'show_in_rest' => true, 'type' => 'string', 'single' => true, 'sanitize_callback' => 'sanitize_text_field', 'label' => __('Book title') ) );
If the label is specified the label will appear as a substitute for the meta-key that is displayed in the UI for Block Bindings. This picture shows the attribute panel. It contains label labels created using custom labels:

Block bindings can be edited
Along with the new Block Bindings interface, a new canUpdateBlockBindings
editor setting can be used to determine whether the new interface is interactive for users. The default setting is the newly launched edit_block_binding
option, which can be changed to true
for administrators and the same
for other users.
You can change the default behavior using the block_editor_settings_all
filter.
New APIs, new features and even a brand new API are available for developers
WordPress 6.7 adds new features for those who wish to make use of blocks within the editor.
An entirely new editor API allows creation of custom source files via the server using bootstrapped values. It is possible to include external sources into the editor, and then be displayed in the UI via the server APIs. // Registers block binding sources. If ( ! function_exists( 'twentytwentyfive_register_block_bindings' ) ) : /** * Registers the copyright block binding source. * * @since Twenty Twenty-Five 1.0 * * @return void */ function twentytwentyfive_register_block_bindings() register_block_bindings_source( 'twentytwentyfive/copyright', array( 'label' => _x( '(c) YEAR', 'Label for the copyright placeholder in the editor', 'twentytwentyfive' ), 'get_value_callback' => 'twentytwentyfive_copyright_binding', ) ); endif; // Registers block binding callback function for the copyright. If ( ! function_exists( 'twentytwentyfive_copyright_binding' ) ) : /** * Callback function for the copyright block binding source. * * As of Twenty Twenty five 1.0 * Return the Copyright copyright text. */ function twentytwentyfive_copyright_binding() $copyright_text = sprintf( /* translators: 1: Copyright symbol or word, 2: Year */ esc_html__( '%1$s %2$s', 'twentytwentyfive' ), '(c)', wp_date( 'Y' ) ); return $copyright_text; endif; add_action( 'init', 'twentytwentyfive_register_block_bindings' );
The code will display (c) years in the UI by default. The code is displayed in the next image.

Important to note that the text displayed in the block canvas doesn't actually exist and only shows the source label.
In order to find the exact mark of this block, it is necessary to create a copy of the pattern Twenty 25 that is an Copyright pattern. Once you have done that, access the duplicate pattern within The Code editor:
Further details regarding the unique Block Bindings function are included in Block Bindings in the 6.7 notes of the development.
Modifications to views of data
Data Views offers a new interface for designs and templates, web pages and many other functions. Data Views can also be an element as well as an API that lets you display your information in the Editor for Sites with various layouts like grid, table, list, or list.

Beginning with WordPress 6.7 A gear icon is displayed in the upper right corner of the grid view. If you click on this icon it will open it opens an appearance panel. appearance panel shows a number of options to view. You can arrange the elements in your display, adjust the grid's size as well as alter the size of elements displayed on a page. You can also choose the element's property that you want to show on the page.


An option to toggle permits users to conceal or reveal views filters for improved user performance on screens with small sizes.


When you've chosen the filter you wish to use The toggle switch for filtering will show the active filters.

Other changes to Data Views include the aspect ratio which is adjustable, data view options from an alternative menu along with various other adjustments.
Improved query Loop block
Its Query Loop block is one of the most sophisticated and complicated blocks. It's required to offer the greatest flexibility and functionality regarding customization yet it is also user-friendly and easy to navigate. In WordPress 6.7 as well as 6.7 Its Query Loop receives several improvements and updates to make the loop to become simpler and more flexible to utilize.
The previous Inherit query which was part of the templates setting control is now modified in order to make it more easy to comprehend and understand.
When you modify the template in conjunction with editing it, the query loop settings panel will display a the query's type control. These images show you how to alter the parameters for two types of types of queries like default and custom.


The capability to recognize the context has also been upgraded. The Query block is equipped with the inherit
setting that is default set in default to false
as default. On a single page, the setting does not have any effect on the results or queries. The controls were removed with WordPress 6.7.

Contrary to templates used for archive templates, which is also referred to as index templates, the content of queries blocks is dependent on the nature of the request. The archive pages for a specific category will display details related to that category, regardless of the other options that are set for the individual user. In particular, it shows the number of posts.
It is possible to get a full description of the issues that are affecting the query Loop block by clicking here.
Additional media management enhancements
The new version of WordPress 6.7 the management of media has been improved and much more effective. Auto sizes are now available for lazy loading images to the addition of many background images, here are some of the enhancements to managing media that are coming in 6.7.
Auto sizes to load lazily loaded images
An initial setting to set dimensions
will allow your browser to detect the image file to use by the value of the srcset
attribute. The browser can determine the dimensions of the image before the layout is recognized.
The HTML specification allows images to be stripped of their dimension
attribute. They can also change the attribute to auto
or a string which begins with the word auto
:
list of source-size-list>autoauto
In WordPress 6.7 with the auto attribute, the auto
attribute will be included that it appears at the start of the dimension
attribute for each slow-loading image. This results in a performance boost in the speed of loading web pages.

Developers can correct the value of the sizes
attribute using the new wp_img_tag_add_auto_sizes()
function.
Font Library enhancements
WordPress 6.7 will also bring several beneficial updates to The Font library. The first is that fonts are now separated in two categories Sources ( Theme and Custom), making it easier to identify the sources of each type at a glance.


A new option to select all choice is as easy as couple of mouse clicks as you search for exactly the font you're looking for in Google Fonts.

The other changes are a revised "No fonts installed" message for fonts not in use and an enhanced "No Fonts installed" state when fonts have been installed but are not yet activated.
Support for the HEIC format
Its file format HEIC (High Efficiency Image Container) is an updated version of the HEIF (High Efficiency Image Format) that is utilized by Apple for all iPhones and iPads with iOS 11 and later. This format ensures that iOS users to get the maximum benefit of 4K cameras, and also have smaller files.
With WordPress 6.7, HEIC image uploads will be instantly converted to JPEG via the WordPress server if it's possible. It allows users to browse at HEIC images within the Media Library and use them for pages or posts, regardless of whether or not their browser supports HEIC.

Tools for designing that are constantly continuously updated and upgraded.
With WordPress 6.7 Designers can access new and advanced tools for designing, like extended block support and font size presets as well as several more.
Background pictures are an excellent method to increase the usability interface for Text, Quote, as well as Post Blocks
WordPress 6.7 includes the latest controls that control the UI of background images in a handful of blocks that are part of the global design. The blocks include Verse, Quote and Post Content.

An image for a background that's set in general styles can be applied to the entire site. Once you've placed your background image in the form of a block, you'll want to change the settings on every single instance of the block to give it a more customized appearance.

The function is included in The Post blocks to wrap the pages of the post and content within templates. This image provides an illustration of the use of this feature. Background image.

Block support is a way to help add blocks
In addition, it has the capability to support background images for Verse or Quote block and the capability to use Post Blocks for Content WordPress 6.7 introduces new capabilities to create blocks with various features that developers and theme developers will appreciate.
The support for border borders was extended to different blocks. This includes Buttons categories, Buttons Gallery, Headings, Media Text, Paragraph, Post Title quote, and many more blocks.

This release also adds colors as well as color schemes for buttons, List Item and Comments from the past..

WordPress 6.7 will also bring the long-anticipated feature for the designers and developers: shadow support within the Group block. Group block.

Font size presets
WordPress 6.7 has a brand modern user interface which lets you control the font size and style of your presets within the Global Styles interface. Users can alter the default settings of the theme as well as to make modifications delete, or add, and apply Font size presets by using the editor.
Furthermore, you'll be able to use the capability to turn to fluid typography as well as to define your own values for fluidity.
If you'd like to try this out, you can simply start using the Styles interface and go through font sizes > The Presets for Font Size Presets. A new window will appear with font size presets. Choose the font size preset you like and apply modifications as necessary.

The changes you make on your site will reflect across your site.
UI improvements and editing tools
WordPress 6.7 adds an array of UI improvements and a variety of options that make it easier for editing. Let's take a look at some the choices.
The button to publish was moved in the right place.
It seems it appears that both cancel and publish buttons on the check-box to pre-publish have been moved. cancel and the Publish buttons of the check-box to pre-publish have been moved to various places so that you can publish the content without requirement to drag the cursor on the page.

Block names that are customized within the block inspector
In WordPress 6.7 If you create the block's name custom, it will now shows within the inspector for blocks as well. In the older version 6.6 the block inspector will reveal the block's default name (e.g. the heading).


Deactivate the Modal Choose Pattern
It is now possible to turn off the Choose Patterns option which is shown whenever you create a new page. If you want to remove this feature, just open the preferences inside the menu choices menu and disable the option to show the starter pattern option.

Automatic phone number linking
The link field automatically adds this number
when you type the address.

It is possible to add several images to the block.
You can now add multiple images to an Image block and convert the block into galleries blocks.


New APIs and new features are available for developers
WordPress 6.7 provides a broad range of brand new APIs that developers can use to permit them to enhance the functionality of plugins that they design. The brand new Preview Options API has been introduced, as well as other APIs that have been enhanced with fresh options like the HTML API as well as API for Interactivity. Interactivity API. We'll look at a handful of.
Preview Options API
The brand new Preview Options API permits plugin developers to increase their options to increase the size of the Preview dropdown menu available in the post/page editor. The API introduces a new PluginPreviewMenuItem
component that plugins can use to add custom menu items with custom titles and click handlers to the Preview dropdown menu.
The developers of plugins can design custom ways to preview the WordPress editor to cover different things, such as:
- Previews with custom formats (think of posts that you post on social media)
- Posts or pages that are viewed as previews that can only be viewed by specific role-based users
- Additional preview modes, such as dark mode, emails, etc.
Based on the tools you have at hand, you are able to create custom menu items in order to show your contents in the form of buttons, hyperlinks or any other.
Here's an example from the note to developers on how to use the brand new API:
import __ from '@wordpress/i18n'; import PluginPreviewMenuItem from '@wordpress/editor'; import registerPlugin from '@wordpress/plugins'; function onPreviewClick() // Handle preview action const CustomPreviewMenuItem = () => ( __( 'Your menu item label' ) ); registerPlugin( 'custom-preview-menu-item', render: CustomPreviewMenuItem, );
The plugin is available. Template Registration API
Before WordPress 6.7, the only possibility to customize blocks was via themes. Registration of blocks using an plugin could be difficult unless you used complicated workarounds.
Thanks to the new template registration API that is now available and allows you to create your own block templates registered using an application. The new API provides two new functions for registering and unregistering a template: register_block_template()
and unregister_block_template()
.
It is pretty easy to use. All you have to do is give the function some parameters:
$template_name:
The name of the template in the form of plugin_uri//template_name
(note the //
) $args:
A list of the following arguments:
title
description
Content
post_types
For more details about the API and usage examples check out the Note on Development and the original Pull Request.
Block type APIs are now accessible for sign-up.
A new wp_register_block_metadata_collection()
function registers a block type from a manifest file if it exists instead of reading and parsing the block.json
file directly. This is especially useful for plugins that register several blocks since it is no longer necessary to interpret and read block.json for each block type.
Note that this new function does not replace the existing register_block_type()
and register_block_type_from_metadata()
functions. It can be utilized as an alternative to, but it is strongly advised to utilize plugins that register multiple blocks for better performance.
Read the developer note for an in-depth explanation of the API and illustrations of how you could utilize the API.
Optional Heading Level Options
Through the use of the brand new feature known as the levelOptions
attribute of the brand new feature called levelOptions. Users are able to define the different levels that headings should be included in the dropdown menu to make headings of the Site Title Tagline for the Site, Query Title as well as Post Title in addition to comment title blocks.
It is most often used in block templates, template components, as well as patterns. The code below disables H1 Headings H5 (H5, H5 and H6) within a block. Headings:
Schedule a Demo
This article was originally posted this site
Article was first seen on here