
WordPress 5.9 builds upon the latest release making a consumer-friendly CMS into a more developer-friendly CMS. WordPress 5.8 came with many feature updates, but WordPress 5.9 has taken the CMS to the next level. In WordPress 5.9, new hooks and functions are added to help developers work with Posts, Post Types and Taxonomies. New Hooks and Functions to Work with Posts, Post Types, and Taxonomies The existing v1 theme.json files will still work as expected, and they’ll be transformed at runtime to the v2 format by WordPress. WordPress 5.9 has changed theme.json v1 introduced in WordPress 5.8 to a v2. Updates for Settings, Styles, and theme.json
WORDPRESS 5.9 UPDATES HOW TO
Global settings & styles documents how to use the theme.json to add styles to your themes. There is also a command-line script to help generate a block theme to get you started:īlock Theme Overview explains the basics of block themes and the structure and format of the themes.Ĭreate a block theme is a full tutorial walking through creating a block theme. The theme-experiments repository has an Empty Theme that is an excellent boilerplate to start your first block theme from.

The new templates and template parts are defined in HTML and use the custom styling offered in theme.json. WordPress 5.9 introduces block-based themes that use blocks to define the templates that structure your entire site. Resources for Building Block-Based Themes Here are a few noteworthy features and enhancements in this update, along with notes for devs in the WordPress 5.9 field guide. WordPress 5.9 has many developer-focused updates.

In the upcoming WordPress 5.9 release, the implementation for both received some improvements to increase performance. Lazy-loading images were introduced in WordPress 5.5 and later expanded to also cover iframes in WordPress 5.7.
