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

The beta version of WordPress 4.5 was released last week. We followed the development closely, and we are excited to report that WordPress 4.5 is expected to be released during the second week of April, 2016. In this article, we will highlight what’s coming in WordPress 4.5 with features and screenshots.

WordPress 4.5的Beta版本于上周发布。 我们密切关注开发情况,很高兴地向您报告WordPress 4.5预计将于2016年4月第二周发布。在本文中,我们将通过功能和屏幕截图重点介绍WordPress 4.5的功能。

What to expect from upcoming WordPress 4.5

Note: You can try out the beta version on your computer or on a staging environment by using the WordPress Beta Tester plugin.

注意:您可以使用WordPress Beta Tester插件在计算机暂存环境中试用Beta版本。

This is the beta release, which means no more new features will be added until the final release of WordPress 4.5. However, please know that some of these features may not make it into the final release.

这是Beta版本,这意味着直到WordPress 4.5的最终版本才会添加更多新功能。 但是,请注意,其中某些功能可能无法纳入最终版本。

主题徽标支持 (Theme Logo Support)

Adding theme logo from customizer is a long awaited feature. WordPress 4.5 will add theme logo support to WordPress core.

从定制工具添加主题徽标是期待已久的功能。 WordPress 4.5将在WordPress核心中添加主题徽标支持。

Many premium WordPress themes already allow users to upload custom logo using their own options panel. With the core support for the feature, it would become possible for users to do that from the theme customizer.

许多高级WordPress主题已经允许用户使用自己的选项面板上传自定义徽标。 有了对功能的核心支持,用户就有可能从主题定制器中执行此操作。

Theme Logo Support in upcoming WordPress 4.5

Themes would be able to define support for logo with size values like this:

主题将能够使用以下大小值定义对徽标的支持:


add_image_size( 'twentysixteen-logo', 1200, 175 );
add_theme_support( 'site-logo', array( 'size' => 'twentysixteen-logo' ) );

If a theme does not support this feature, then it will not be visible in the customizer.

如果主题不支持此功能,则它将在定制器中不可见。

视觉编辑器的改进 (Visual Editor Improvements)

Majority of WordPress users spend most of their time creating content. Anything that can make the writing experience better and faster is always a good thing.

多数WordPress用户花费大部分时间来创建内容。 任何可以使写作体验变得更好和更快的事物都是一件好事。

WordPress 4.5 will bring some new improvements to the visual editor, which will improve the writing experience for users.

WordPress 4.5将为视觉编辑器带来一些新的改进,这将改善用户的书写体验。

Inline Link Editing

内联链接编辑

WordPress comes with some great time saving shortcuts, which all help you write faster. One of these shortcuts is CTRL+K (Command+K on Mac), which allows you to insert links in posts.

WordPress带有一些节省时间的捷径 ,这些捷径都能帮助您更快地编写代码。 这些快捷方式之一是CTRL + K(在Mac上为Command + K),可让您在帖子中插入链接。

This shortcut opens the insert link popup, which is a bit distracting.

此快捷方式将打开插入链接弹出窗口 ,这会分散您的注意力。

With WordPress 4.5, pressing CTRL+K will show an inline insert link menu. Simply type the URL and continue writing your post without removing hands from keyboard.

在WordPress 4.5中,按CTRL + K将显示嵌入式插入链接菜单。 只需键入URL,然后继续写您的帖子,而无需从键盘上移开手。

Inline link editing in WordPress 4.5

More Inline Text Shortcuts

更多内联文本快捷方式

Inline text shortcuts were introduced in WordPress 4.3. They allowed users to quickly add formatting markup by using simple text shortcuts.

内联文本快捷方式在WordPress 4.3中引入。 他们允许用户使用简单的文本快捷方式快速添加格式标记。

WordPress 4.5 is introducing more shortcuts like `code` for code and **bold** for bold.

WordPress 4.5引入了更多的快捷方式,例如`code`用于代码,** bold **用于粗体。

New inline text shortcuts in WordPress 4.5

For those users who don’t like these shortcuts, here is how to disable inline text shortcuts in visual editor.

对于不喜欢这些快捷方式的用户,以下是在可视化编辑器中禁用内联文本快捷方式的方法

改进的中等评论屏幕 (Improved Moderate Comment Screen)

Many bloggers spend a lot of time moderating comments in WordPress. Comment moderation is a necessary evil that we all have to tolerate in order to combat comment spam in WordPress.

许多博客作者花费大量时间来审核WordPress中的评论 。 为了遏制WordPress中的评论垃圾邮件,评论审阅是我们所有人都必须容忍的必要邪恶。

WordPress sends you an email notifications when there is a new comment submitted. Clicking on the approve, spam or trash link in the email will take you to a screen where you can see that comment with a button to perform the desired action.

当有新评论提交时,WordPress会向您发送电子邮件通知 。 单击电子邮件中的批准,垃圾邮件或垃圾邮件链接将带您到一个屏幕,您可以在其中看到带有按钮的评论,以执行所需的操作。

This screen does not allow you to edit a comment. It also does not show you any formatting in comment text, which isn’t pleasant.

此屏幕不允许您编辑评论。 它也不会向您显示注释文本的任何格式,这令人不愉快。

Moderate comment screen in WordPress 4.4.2

With WordPress 4.5, you will get to see an improved screen. It will show you the formatting in comment text as it would appear in the browser. It will also have a link to edit the comment.

使用WordPress 4.5,您将看到一个改进的屏幕。 它将以注释文本的形式显示在浏览器中的格式。 它还将具有编辑评论的链接。

Moderate comment screen in upcoming WordPress 4.5
Customizer中的响应式预览 (Responsive Preview in Customizer)

WordPress 4.5 will bring another cool addition to the customizer. You would now be able to see responsive previews of your site directly in the customizer.

WordPress 4.5将为定制器带来另一个很棒的功能。 现在,您将可以直接在定制器中查看网站的响应式预览。

You can click on the device icon at the bottom to switch the view between devices. Currently it shows Desktop, tablet, and mobile device previews. This gives you a generic idea of how your site would look on these devices.

您可以单击底部的设备图标以在设备之间切换视图。 当前,它显示台式机,平板电脑和移动设备的预览。 这使您对网站在这些设备上的外观有一个大致的了解。

Responsive previews in customizer
优化的图像尺寸生成 (Optimized Image Size Generation)

WordPress introduced responsive images in WordPress 4.4. This means that since 4.4, users on smaller screens get to see a smaller image appropriate for their screen.

WordPress在WordPress 4.4中引入了响应式图像。 这意味着从4.4开始,较小屏幕上的用户可以看到适合其屏幕的较小图像。

This feature is great as it not only improves performance of websites on smaller screens, it also saves them money on data plans.

此功能非常有用,因为它不仅可以在较小的屏幕上提高网站的性能,还可以节省数据计划方面的费用。

WordPress 4.5 will improve this further more. It will optimize images further to reduce their site upto 50% without any visible quality loss.

WordPress 4.5将进一步改善这一点。 它将进一步优化图像,以将其站点减少多达50%,而不会造成任何可见的质量损失。

We still recommend saving images optimized for web for best results.

我们仍然建议保存针对Web优化的图像以获得最佳效果。

允许用户使用电子邮件地址登录 (Allow Users to Login Using Email Address)

It is hard to keep track of all the usernames we use across all the different sites. This is why many popular sites like Facebook, Twitter, and others allow their users to use their email address as username.

很难跟踪我们在所有不同站点上使用的所有用户名。 这就是为什么许多受欢迎的网站(如Facebook,Twitter和其他网站)都允许其用户使用其电子邮件地址作为用户名的原因。

While you can easily forget your username, most people don’t forget their email address.

尽管您可以轻松忘记用户名,但大多数人不会忘记他们的电子邮件地址。

In the past, WordPress didn’t allow users to login with email by default. This is expected to change in WordPress 4.5.

过去,WordPress默认情况下不允许用户使用电子邮件登录 。 预计这将在WordPress 4.5中更改。

Since each WordPress user on your site already has an email address associated with their account, they will now be able to use their email address to login.

由于您网站上的每个WordPress用户已经具有与其帐户相关联的电子邮件地址,因此他们现在可以使用其电子邮件地址登录。

WordPress 4.5 will allow users to login with email address
开发人员功能 (Developer Features)

WordPress 4.5 will bring many under the hood improvements for developers. Here are some of the exciting improvements for developers:

WordPress 4.5将为开发人员带来许多改进。 以下是一些对开发人员而言令人兴奋的改进:

Selective Refresh in Customizer – In customizer if a change has to be applied the entire page has to be reloaded. WordPress 4.5 will come with a robust framework allowing selective refresh in the customizer. This will make it incredibly fast, and it will allow developers to do great things with live previews. (#27355)

定制程序中的选择性刷新 –在定制程序中,如果必须应用更改,则必须重新加载整个页面。 WordPress 4.5将带有一个强大的框架,允许在定制器中进行选择性刷新。 这将使它变得异常快,并且允许开发人员通过实时预览来完成出色的工作。 ( #27355 )

Customizable Embed Templates – WordPress 4.4 also introduced embeds which allowed users to embed posts from their own and other WordPress blogs. WordPress 4.5 will make the embed templates customizable so that theme authors can have custom displays. (#34561)

可自定义的嵌入模板 – WordPress 4.4还引入了嵌入功能,使用户可以嵌入自己和其他WordPress博客中的帖子。 WordPress 4.5将使嵌入模板可自定义,以便主题作者可以自定义显示。 ( #34561 )

WP_Site Class – WordPress 4.5 will come with WP_Site class for multisite WordPress installs. (#32450)

WP_Site类 – WordPress 4.5将随附WP_Site类,用于多站点WordPress安装 。 ( #32450 )

Script Loader – Adding inline scripts will become easier with the introduction of wp_add_inline_script() in WordPress 4.5. (#14853, #35873)

脚本加载器 –通过在WordPress 4.5中引入wp_add_inline_script() ,添加内联脚本将变得更加容易。 ( #14853#35873 )

We hope this article helped you learn what’s coming in WordPress 4.5. Let us know which features you find exciting and what you would like to see in future releases of WordPress?

我们希望本文能帮助您了解WordPress 4.5的功能。 让我们知道您发现哪些功能令人兴奋,以及您希望在未来的WordPress版本中看到什么?

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-coming-in-wordpress-4-5-features-and-screenshots/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值