WordPress 5.7 is under development and some features can still change and may not make it into the final release.
That being said, let’s take a look at what’s coming in WordPress 5.7.
Editor Improvements in WordPress 5.7
The WordPress editor is the area where website owners spend most of their time creating pages and writing content.
Each WordPress release brings new features and improvements to the editor. WordPress 5.7 will also ship with some exciting new features and enhancements to improve your editing experience.
Drag and Drop Blocks from Inserter
WordPress 5.7 will allow you to simply drag and drop a block from the ‘Add new block’ (+) inserter into your content area. This way you can choose where to place a block before you drop it on the post canvas.
Full-height Blocks Coming in WordPress 5.7
Do you like using the full-width blocks for cover, columns, and group blocks? This allows you to create visually stunning layouts. WordPress 5.7 will now allow you to create full-height blocks too.
These blocks will fill in the height of the user’s screen allowing you to create even more engaging layouts.
Block Variations Can Now Have Their Own Descriptions
WordPress 5.7 will now show descriptions for block variations. For instance, the social icons block has Facebook, Twitter, and other social icons. You can view them in the block inspector with a preview.
Social Icon Sizes
WordPress 5.7 will allow you to adjust the size of icons in the social media icons block.
WordPress 5.7 will introduce vertical alignment for buttons in the block editor. Users will also be able to choose from a preset percentage width for their buttons.
Adjust Font Size in More Blocks
Another improvement in the block editor is the ability to adjust the font size in more blocks including the list and code blocks.
WordPress came with a limited set of color schemes and introducing new color schemes was hard as developers had to deal Sass variable-based system.
In the upcoming 5.7 release, WordPress will collapse all colors used in the CSS to one of the available shades of blue, green, red, yellow, grey, black, and white. This will provide developers a palette with a wider range of light and dark color schemes.
New Robots API
WordPress 5.7 will introduce a new Robots API. This API will allow developers to programmatically control and update the robots meta tag on a website.
Robots meta tag allows you to tell search engine bots how to crawl and index a website. This can be achieved by adding a robots.txt file to your site’s root folder or by using the robots meta tag.
A new function called wp_robots will be introduced in WordPress 5.7. Developers will be able to modify the robots meta tab by adding their own filters to the function. Here is an example of how it would work:
WordPress 5.7 will automatically add lazy load to iframe embeds. Lazy Loading is a technique used to improve website speed during a page load. It basically tells the user’s browser to load an item when it is viewed.
WordPress already uses lazy loading for images by default since WordPress 5.5.
This means all embeds that use iframes, such as YouTube videos, will use lazy loading to improve your page load speeds.
If you are using Smash Balloon’s YouTube Feed, then it already optimizes your video feed by better caching and delayed loading.
Under The Hood Changes
WordPress 5.7 will also bring many changes for developers to explore and use in their own themes, plugins, and projects.
Following are some of these under the hood changes.
WordPress 5.7 will introduce new functions is_post_status_viewable() and is_post_publicly_viewable() to check if a post is publicly viewable. (See details)
Render block function will now allow developers to filter the content of a single block. (#46187)
WordPress 5.7 will add a filter hook to manipulate $user_data variable during retrieve_password() function. This will enable developers to perform custom validation checks during password resets. (#51924)
Developers will be able to change the ‘Go to site’ link displayed in the login page footer by using a new login_site_html_link hook. (#35449)
Two new functions get_post_parent() and has_post_parent() will be available in WordPress 5.7 to determine if a post has a parent and to get the related parent post as an object. (#33045)
We hope this article gave you a good idea of what is coming in the upcoming WordPress 5.7. Let us know what features you find interesting and what you’d look to see in a future WordPress release.
At Marketing Solution Australia we strive to deliverer elegant responsive websites for your business integrated with our personal SEO Optimization package to bring your pages on the first page of Google.