WordPress 5.5的新功能(功能和屏幕截图)

WordPress 5.5 was released earlier today, and it is the second major release of 2020.

WordPress 5.5今天早些时候发布,这是2020年的第二个主要版本。

This new release is packed with a lot of improvements, many of them are focused around the WordPress block editor. It also includes some long-awaited features that are making their debut with this release.

这个新版本包含许多改进,其中许多改进集中在WordPress块编辑器上。 它还包括一些期待已久的功能,这些功能将在此版本中首次亮相。

In this article, we’ll share what’s new in WordPress 5.5, and which features you should try after updating your websites.

在本文中,我们将分享WordPress 5.5的新增功能,以及在更新网站后应尝试使用的功能。

Features and screenshots of WordPress 5.5

WordPress 5.5 is a major release, and unless you are on a managed WordPress hosting service, you’ll have to manually initiate the update.

WordPress 5.5是一个主要版本,除非您使用托管的WordPress托管服务,否则必须手动启动更新。

Important: Don’t forget to create a complete WordPress backup before starting the update.

重要提示:在开始更新之前,请不要忘记创建完整的WordPress备份

WordPress 5.5中改进的块编辑器 (Improved Block Editor in WordPress 5.5)

The block editor is where you spend most of your time creating content for your WordPress blog. It has been regularly maintained and each WordPress release brings improvements to the block editor.

块编辑器是您花费大部分时间为WordPress博客创建内容的地方。 它已得到定期维护,每个WordPress版本都对块编辑器进行了改进。

WordPress 5.5 brings some significant changes to help you use block editor more efficiently.

WordPress 5.5进行了一些重大更改,以帮助您更有效地使用块编辑器。

Integrated Block Directory

集成块目录

WordPress 5.5 now comes with an integrated block directory. This means that if you want to add a block that is not available on your site, then you’ll automatically see suggestions from the block directory.

WordPress 5.5现在带有集成的阻止目录。 这意味着,如果您要添加站点上不可用的阻止,则您将自动从阻止目录中看到建议。

Block directory in WordPress 5.5

Block directory is essentially a collection of WordPress plugins that allow you to add different types of blocks to your site. This does not include block library plugins that come packed with several useful WordPress blocks that you can use right away by installing a single plugin.

阻止目录本质上是WordPress插件的集合,可让您向站点添加不同类型的阻止。 这不包括带有几个有用的WordPress块的打包块库插件 ,您可以通过安装单个插件立即使用它们。

UI Changes in The Block Editor

块编辑器中的UI更改

Perhaps the most noticeable thing in WordPress 5.5 is the visual improvements to the block editor. Borders and highlighting are improved to make block editor more accessible.

WordPress 5.5中最值得注意的事情可能是对块编辑器的视觉改进。 边框和突出显示得到了改进,使块编辑器更易于访问。

Improved block editor UI

The ‘Add new block’ button (+) is now more noticeable and looks more like a button with a black background.

现在,“添加新块”按钮(+)更加引人注目,看起来更像是黑色背景的按钮。

Edit Images Inside Block Editor

在块编辑器中编辑图像

WordPress 5.5 allows users to edit images inside the block editor. You can adjust image height, width, aspect ratio, crop, and rotate without leaving the post editor.

WordPress 5.5允许用户在块编辑器中编辑图像。 您可以调整图像的高度,宽度,纵横比,裁剪和旋转,而无需离开帖子编辑器。

Inline image editing in WordPress 5.5

Of course, you can still perform basic image editing in the media library as well. However, inline image editing will now help new users easily discover these built-in editing options.

当然,您仍然可以在媒体库中执行基本的图像编辑 。 但是,嵌入式图像编辑现在将帮助新用户轻松发现这些内置编辑选项。

Introducing Block Patterns

块模式介绍

The block editor already had reusable blocks and groups which allowed users to save most commonly used blocks and reuse them.

块编辑器已经具有可重用的块和组,这使用户可以保存最常用的块并重新使用它们。

WordPress 5.5 adds a new feature called block patterns. These are commonly used blocks with pre-configured settings that you can instantly add.

WordPress 5.5添加了一项称为块模式的新功能。 这些是具有预配置设置的常用块,您可以立即添加它们。

Block patterns in WordPress 5.5

This allows you to quickly create page layouts while maintaining consistency in style across your website. There are a few of them already available in 5.5. More will arrive as WordPress themes and plugins register their own block patterns.

这使您可以快速创建页面布局,同时保持整个网站样式的一致性。 5.5中已经有一些可用的功能。 随着WordPress主题和插件注册其自己的阻止模式,将会有更多内容出现。

Improved Block Navigation and Movement

改进的块导航和移动

One common issue that many beginners struggled with is block navigation. Particularly if you are using nested blocks like columns or groups, then it became a little difficult to select the parent block or move a child element inside it.

许多初学者苦苦挣扎的常见问题是块导航。 特别是如果您使用的是诸如列或组之类的嵌套块,那么选择父块或在其中移动子元素变得有点困难。

WordPress 5.5 now comes with much better block navigation making it easier to select parent block or a nested element inside it. You can also move blocks by grabbing the handle and drag and drop them.

WordPress 5.5现在具有更好的块导航功能,可以更轻松地选择父块或其中的嵌套元素。 您也可以通过抓住手柄并拖放来移动块。

Moving between blocks and navigating around editor in WordPress 5.5

自动更新您的WordPress主题和插件 (Auto Update Your WordPress Theme and Plugins)

WordPress 5.5 takes a big leap towards security by introducing automatic updates for WordPress plugins and themes.

WordPress 5.5通过为WordPress插件和主题引入自动更新,向安全性迈出了一大步。

You can now simply go to the Plugins page and enable auto-updates for any WordPress plugin that you have installed on your site.

现在,您只需转到“插件”页面,并为您在站点上安装的任何WordPress插件启用自动更新即可。

Enable auto-updates for WordPress plugins

You can also do the same for WordPress themes. Simply go to the Appearance » Themes page and click on a theme to select it. In the theme overview popup, you’ll find the option to enable automatic updates for that theme.

您也可以对WordPress主题执行相同的操作。 只需转到外观»主题页面,然后单击一个主题以将其选中。 在主题概述弹出窗口中,您将找到启用该主题的自动更新的选项。

Auto update WordPress theme

This functionality was already available in WordPress but you either had to change WordPress configuration or use a third-party plugin to manage automatic updates. WordPress 5.5 has now made it incredibly easy to ensure that your websites are always running on the latest code.

此功能已在WordPress中提供,但您必须更改WordPress配置或使用第三方插件来管理自动更新 。 WordPress 5.5现在使确保您的网站始终在最新代码上运行变得异常容易。

通过上传新版本来更新插件 (Update Plugins by Uploading a New Version)

Normally, you would update WordPress plugins with automatic updates or by clicking on the update notification. However, sometimes you may have to update a plugin manually.

通常,您可以使用自动更新或单击更新通知来更新WordPress插件。 但是,有时您可能必须手动更新插件。

In that case, your only option was to use an FTP client to upload the new version. WordPress 5.5 has fixed this problem and now you can simply go to the Plugins » Add New page and upload the new version like you would upload any new plugin zip file.

在这种情况下,您唯一的选择是使用FTP客户端上载新版本。 WordPress 5.5已经解决了这个问题,现在您可以简单地转到Plugins»Add New页面并上传新版本,就像上传任何新的zip文件一样。

Upload plugin zip file

WordPress will automatically detect that you already have this plugin installed and the new file contains a different version. It will then allow you to ‘Replace current with uploaded’ version.

WordPress会自动检测到您已经安装了此插件,并且新文件包含其他版本。 然后,它将允许您“用上载的内容替换当前版本”。

Replace existing plugin with new version

You can do the same thing for themes as well. Simply go to the Appearance » Themes page and then click on the ‘Add New’ button at the top.

您也可以为主题做同样的事情。 只需转到外观»主题页面,然后单击顶部的“添加新”按钮。

After that click on the Upload Theme button to upload your theme zip file. WordPress will automatically detect the existing theme and will give you the option to ‘Replace current with uploaded’ version.

之后,单击“上传主题”按钮以上传您的主题zip文件。 WordPress将自动检测现有主题,并为您提供“用上载的内容替换当前版本”的选项。

Replace theme with updated version

图像的延迟加载 (Lazy Loading for Images)

WordPress 5.5 now lazy loads images on your website. This means that it will only load the images that are visible to the user on screen and delay loading other images.

WordPress 5.5现在可以懒惰地在您的网站上加载图像。 这意味着它将仅加载用户在屏幕上可见的图像,并延迟加载其他图像。

WordPress now make it a default feature for all sites by adding the ‘loading’ attribute to img tag. This attribute is supported by all modern web browsers (except Safari).

WordPress现在通过在img标签中添加'loading'属性来使它成为所有站点的默认功能。 所有现代网络浏览器(Safari除外)都支持此属性。

Lazy load images in WordPress 5.5

This improves your website speed and performance significantly. This is also good for WordPress hosting companies, ISPs, and the overall interwebs.

这样可以大大提高您的网站速度和性能 。 这对于WordPress托管公司 ,ISP和整个互连网也很有用。

WordPress powers more than 35% of all websites on the internet this major improvement in speed will save a lot of bandwidth, server resources, and electricity.

WordPress为Internet上所有网站的35%以上提供了动力,这种速度的重大提高将节省大量带宽,服务器资源和电力。

WordPress中的默认XML网站地图 (The Default XML Sitemaps in WordPress)

WordPress 5.5 will now automatically publish XML sitemaps for your website. An XML sitemap is a file that lists all of your website content in XML format. This helps search engines like Google to easily discover and index your content.

WordPress 5.5现在将自动为您的网站发布XML网站地图 。 XML网站地图是一个文件,其中列出了XML格式的所有网站内容。 这有助于Google之类的搜索引擎轻松发现您的内容并将其编入索引。

Sitemaps are a crucial part of WordPress SEO and this feature would help many beginners who are not following SEO best practices.

站点地图是WordPress SEO的关键部分,此功能将帮助许多不遵循SEO最佳实践的初学者。

However, the default WordPress XML Sitemaps are quite limited in features and functionality. This is why both top WordPress SEO plugins, All in One SEO and Yoast SEO will continue providing their own XML sitemaps.

但是,默认的WordPress XML Sitemaps的功能非常有限。 这就是为什么两个顶级WordPress SEO插件, All in One SEOYoast SEO将继续提供自己的XML网站地图的原因。

If you are already using an SEO plugin or Sitemaps plugin, then you don’t need to do anything. These plugins will automatically disable the default WordPress XML sitemaps.

如果您已经在使用SEO插件或Sitemaps插件,则无需执行任何操作。 这些插件将自动禁用默认的WordPress XML网站地图。

WordPress 5.5的内幕变化 (Under The Hood Changes in WordPress 5.5)

WordPress themes using the get_custom_logo() or the_custom_logo() will not add a link to the homepage when the homepage is displayed. (See details)

当显示主页时,使用get_custom_logo()the_custom_logo() WordPress主题不会添加到主页的链接。 ( 查看详情 )

Theme developers can now pass arguments among template files. (See details)

主题开发人员现在可以在模板文件之间传递参数。 ( 查看详情 )

Developers can now define default terms for custom taxonomies. (See details)

开发人员现在可以为自定义分类法定义默认术语。 ( 查看详情 )

WordPress 5.5 includes updated external libraries like phpMailer, SimplePie, Twemoji, and more. (See details).

WordPress 5.5包括更新的外部库,例如phpMailer,SimplePie,Twemoji等。 ( 查看详细信息 )。

Developers can control the auto-update options by disabling, enabling, or selectively blocking them for specific plugins or themes. (See details)

开发人员可以通过针对特定插件或主题禁用,启用或有选择地阻止它们来控制自动更新选项。 ( 查看详情 )

Dashicons will be updated and include 65 new icons. (See details)

Dashicon将进行更新,并包含65个新图标。 ( 查看详情 )

WordPress 5.5 will come with the ability to scan for PHP compatibility issues more effectively. (See details)

WordPress 5.5将具有更有效地扫描PHP兼容性问题的功能。 ( 查看详情 )

We hope this article helped you learn what’s new in WordPress 5.5. We are particularly excited about lazy loading images and block editor changes.

我们希望本文能帮助您了解WordPress 5.5的新功能。 我们对延迟加载图像和块编辑器更改感到特别兴奋。

What’s your favorite feature in WordPress 5.5? Let us know in the comments below.

WordPress 5.5中您最喜欢的功能是什么? 在下面的评论中让我们知道。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/news/whats-new-in-wordpress-5-5-features-and-screenshots/

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
©️2022 CSDN 皮肤主题:编程工作室 设计师:CSDN官方博客 返回首页
评论
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值