Thank you for posting the official release of WordPress 5.9. According to WordPress practice, every major version update will bring some new features. This time is no exception, and there are major updates.
Sitewide Editing is Now Available Sitewide Editing gives you control over the look and feel of your entire site right from the WordPress admin dashboard.
Brand new Twenty Twenty-Two theme This is the first ever default block theme for WordPress. Not only is it a new default theme, but it’s a whole new way to use WordPress themes.
Block themes give you tons of visual options, from color schemes to font combinations to page templates and image filters, all of which can be changed through the site editor. Since it only needs to be modified in one place, you can give the Twenty Twenty-Two theme the same look and feel as your own brand or other website, or turn the look of your site in another direction.
The Twenty Twenty-Two theme is ready to use, it is installed with WordPress 5.9 and can be found on the Installed Themes page.
Build a site with unlimited creativity With the release of the Twenty Twenty-Two theme, more block themes that support full-site editing will also be listed in the theme directory one after another, waiting for users to explore in depth. Stay tuned for more block themes to be released in the future.
Once you use any block theme, you no longer need the appearance customizer; instead, the full functionality in the site editor, in the styling interface. Using these blocks just like in Twenty Twenty-Two, you can build the right look and feel for your site on demand, and use the tools you need to get the job done in a smooth, intuitive interface.
Navigation block The core of this user experience, the block is introduced into the site navigation bar.
The new Navigation block offers a variety of options to choose from, such as a responsive menu that always expands or a menu that adapts to the user’s screen size. No matter which menu you create, it can be reused wherever you want, even after using a brand new template or switching themes.
More Improvements and Updates Do you enjoy blogging or creating content? A newly tweaked publishing process helps you speak more and faster.
More granular control of blocks WordPress 5.9 features new typography tools, flexible layout controls, and fine-grained control over details like spacing, borders, and more to help you not only design the look, but even adjust the details you need.
The Power of Block Templates The WordPress Template Directory is home to a variety of block templates that save you time and add to the core functionality of your site, which you can edit as needed. If you need a different header or footer for your current theme, you can refresh it with just a few clicks.
With the block template browser with a full screen view, you can focus on the finer details so that you can easily compare and select the desired block template.
pattern-explorer.pnglist-view.pngImproved List View The list view in version 5.9 allows you to move blocks to the desired location by dragging and dropping their contents. Managing complex files just got easier, simple controls let you expand and collapse sections as you build your site, and add HTML anchors to sections that help users navigate the page.
A better gallery block handles each image in the gallery block in the same way as images in the image block.
In the gallery, each image can be styled differently from the others (e.g. a different crop or duotone), or be identical, or drag and drop to change the layout.
gallery-block.pngWordPress 5.9 developer noteIntroduces block themes A new way to build themes is to use blocks to define block themes for the entire site layout template, and custom styles in HTML and theme.json define a new Templates and Template Components. For more details, please refer to the block theme development instructions.
Blocks support multiple styles You can now register more than one stylesheet per block, apply this feature to share styles between blocks you write yourself, or load styles for individual blocks, and only when blocks Styles will only be loaded when used. Learn more about using multiple styles in a single block.
Blocks? Hierarchical locking As of this version, you can lock any block in the block template, just add the lock attribute in the settings of block.json, and let other parts of the template adapt to the site content freely.
Refactored Gallery Block The changes to the gallery block listed above are the result of a near-complete refactoring, be sure to read the gallery block compatibility development notes before developing a plugin or theme related to the gallery block functionality .
Download addresshttps://cn.wordpress.org/latest-zh_CN.ziphttps://cn.wordpress.org/latest-zh_CN.tar.gz

WordPress 5.9 官方正式版发布,按照 WordPress 惯例,每次大版本更新都会带来一些新的功能,这次也不会例外,而且是有重大更新。


全站编辑功能正式上线

全站编辑功能使您能够在 WordPress 管理仪表盘中对整个站点的外观进行控制。

全新的 Twenty Twenty-Two 主题

这是 WordPress 有史以来的第一个默认区块主题。 它不仅是一个新的默认主题, 也是使用 WordPress 主题的一种全新方式。

区块主题为您提供了大量的视觉化选择,从配色方案到字体组合在到页面模板和图片筛选,全部都可通过站点编辑器进行变更。由于只需要在一个地方进行修改,您可以为 Twenty Twenty-Two 主题提供与自有品牌或其他网站相同的外观和风格,或将您站点的外观转向另一方向。

Twenty Twenty-Two 主题已可供使用,此主题会与 WordPress 5.9 一并安装,可在已安装的主题页面中找到。

构建站点,创意无限

随着 Twenty Twenty-Two 主题的发布,更多支持全站编辑的区块主题也会陆续上架到主题目录中,并等待用户进行深入探索。敬请期待将来发布的更多区块主题。

使用任意一个区块主题后,您便不再需要外观定制器;取而代之的是站点编辑器中、样式界面中的全部功能。使用这些区块就像在 Twenty Twenty-Two 中一样,您可以按需为站点构建合适的外观和风格,并在流畅、顺手的界面中使用所需的工具完成工作。

 

导航区块

此次用户体验的核心,将区块引入到站点导航栏。

全新的导航区块提供多种选项供您选择,例如始终展开的响应式菜单或适应用户屏幕尺寸的菜单。无论创建哪种菜单,即使是使用全新模板或切换主题后,都可以在所需的位置重复使用。

更多改进和更新

您喜欢写博文或创作内容吗?新调整的发布流程可帮助您说得更多、更快。

更细致的区块控制

WordPress 5.9 具有新的排版工具、灵活的布局控制以及对间距、边框等细节的精细控制,不仅有助于您设计外观,甚至能够对所需细节进行调整。

区块样板的力量

WordPress 样板目录是各种区块样板的家园,这些样板能够为您节省时间并增加站点的核心功能,您可以根据需要对这些区块样板进行编辑。若需要为当前的主题更换不同的页眉或页脚,只需点击几下便可焕然一新。

通过具有全屏视图的区块样板浏览程序,您便可聚焦到精细的细节,从而能够轻松的比较并从中选择所需的区块样板。

pattern-explorer.png

list-view.png

经过改进的列表视图

5.9 版本中的列表视图可让您通过拖放区块内容的方式,将区块移至所需的位置。 管理复杂文件变得更简单,简易的控件让您在构建站点时能够对区段进行展开和折叠,并将可帮助用户浏览页面的 HTML 锚点添加至区块中。

更好用的画廊区块

使用在图片区块中处理图片的相同方式处理画廊区块中的每张图片。

在画廊中,每张图片的样式都与其他图片不同(例如不同的剪裁或双色调),或使其完全相同,亦可通过拖放的方式来改变布局。

gallery-block.png

WordPress 5.9 开发者注事引入区块主题

构建主题的全新方式,便是使用区块定义整个站点布局模板的区块主题,而 HTML 和 theme.json 中的自定义样式定义了全新的模板和模板组件。 预了解详情,请参阅 区块主题开发说明。

区块支持多重样式

现在,您可为每个区块注册一个以上的样式表,一可应用此特性在您自行编写的区块间共享样式,或者为个别区块加载样式,且只有在区块被使用时,样式才会被加载。 了解关于 在单个区块中使用多重样式的更多信息。

区块‑层级锁定

至此版本开始,您可将区块样板中的任意区块进行锁定,只需在 block.json 的设置中加入 lock 属性,让样板的其他部分自由适应站点内容。

经过重构的画廊区块

以上列出的对画廊区块的修改是一个近乎完全重构的结果,在开发与画廊区块功能相关的插件或主题前,请务必阅读画廊区块兼容性开发说明。

下载地址

https://cn.wordpress.org/latest-zh_CN.zip

https://cn.wordpress.org/latest-zh_CN.tar.gz

发表评论

后才能评论