wordpress 古腾堡_如何禁用古腾堡并将经典编辑器保留在WordPress中

wordpress 古腾堡

Do you want to disable Gutenberg and keep the classic WordPress editor on your site? Gutenberg is an upcoming WordPress editor which will replace the classic WordPress editor. While it looks modern, a lot of users are finding it hard to use and would prefer to keep the classic editor. In this article, we will show you how to easily disable Gutenberg and keep the classic editor in WordPress.

您是否要禁用古腾堡并将经典的WordPress编辑器保留在您的网站上? 古腾堡(Gutenberg)是即将推出的WordPress编辑器,它将取代经典的WordPress编辑器。 它看起来很现代,但是许多用户发现它很难使用,并且希望保留经典编辑器。 在本文中,我们将向您展示如何轻松禁用Gutenberg并将经典编辑器保留在WordPress中。

Disable Gutenberg and keep classic editor in WordPress
什么是古腾堡? (What is Gutenberg?)

Gutenberg is an upcoming WordPress editor with a goal to modernize the WordPress writing experience.

Gutenberg是即将到来的WordPress编辑器,目标是使WordPress写作体验现代化。

Gutenberg preview

It attempts to work like a page builder plugin and allows you to drag and drop items into a post or page. The goal is to offer more flexibility and enable WordPress users to create unique layouts for their content with rich multimedia content.

它尝试像页面构建器插件一样工作,并允许您将项目拖放到帖子或页面中。 目标是提供更大的灵活性,并使WordPress用户能够使用丰富的多媒体内容为其内容创建独特的布局。

Since WordPress 4.9.8, the core WordPress team has added a call to try out Gutenberg in the WordPress dashboard. The purpose of this callout is to get feedback from millions of WordPress users and make Gutenberg ready for its first release.

从WordPress 4.9.8开始,WordPress核心团队在WordPress仪表板中添加了一个电话来试用Gutenberg。 此标注的目的是获得数百万WordPress用户的反馈,并使Gutenberg为其第一个版本做好准备。

Gutenberg callout

Gutenberg will become the default WordPress editor with the release of WordPress 5.0 which is expected to arrive later this year (2018).

随着WordPress 5.0的发布,Gutenberg将成为默认的WordPress编辑器,预计将于今年晚些时候(2018年)发布。

为什么要禁用WordPress中的Gutenberg编辑器? (Why Disable the Gutenberg Editor in WordPress?)

Many users feel that Gutenberg in it’s current state is not ready for live sites. This is evident by the 2.3 out of 5 rating average on the Gutenberg plugin. At the time of writing this article, there are 676 one-star ratings vs 288 five-star ratings.

许多用户认为古腾堡(Gutenberg)处于当前状态,还没有准备好用于实时站点。 古腾堡(Gutenberg)插件的平均评分( 满分5分中的2.3分 )显而易见。 在撰写本文时,有676个一星级和288个五星级。

Despite the negative reviews, WordPress core team is moving forward with making Gutenberg the default editor in WordPress 5.0.

尽管遭到了负面评价,但WordPress核心团队仍在努力使Gutenberg成为WordPress 5.0中的默认编辑器。

This is making a lot of users very concerned. They want to have an option to disable Gutenberg and keep the classic editor.

这使很多用户非常担心。 他们希望有一个选项可以禁用Gutenberg并保留经典编辑器。

Thankfully, there’s a plugin by the WordPress core team which allows you to do just that.

幸运的是,WordPress核心团队提供了一个插件,您可以执行此操作。

Let’s take a look at how to easily disable Gutenberg and keep using the classic WordPress editor.

让我们看一下如何轻松禁用Gutenberg并继续使用经典的WordPress编辑器。

方法1。使用经典编辑器插件禁用Gutenberg (Method 1. Disable Gutenberg with the Classic Editor Plugin)

For this method, we will be using the Classic Editor plugin which is developed and maintained by the core WordPress contributors.

对于这种方法,我们将使用由WordPress核心贡献者开发和维护的Classic Editor插件。

First thing you need to do is install and activate the Classic Editor plugin. For more details, see our step by step guide on how to install a WordPress plugin.

您需要做的第一件事是安装并激活Classic Editor插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

The plugin works out of the box, and it will disable the Gutenberg editor upon activation.

该插件开箱即用,激活后将禁用Gutenberg编辑器。

This plugin also gives you an option to keep both Gutenberg and the Classic editor at the same time. You can configure this in the plugin’s settings.

该插件还为您提供了同时保留古腾堡和经典编辑器的选项。 您可以在插件的设置中进行配置。

Simply go to the Settings » Writing page in your WordPress admin area. You will see the option to do this under “Classic editor settings”.

只需转到WordPress管理区域中的“设置”»“编写”页面。 您将在“经典编辑器设置”下看到执行此操作的选项。

Classic editor settings

Don’t forget to click on the save changes button to store your settings.

不要忘记单击“保存更改”按钮来存储您的设置。

You will now be able to see a new link under the Posts menu to create new posts using the classic editor.

现在,您将可以在“ 帖子”菜单下看到一个新链接,以使用经典编辑器创建新帖子。

Switch to classic editor

You will also be able to edit older articles using the classic editor. Simply go to Posts » All Posts page and you’ll see a ‘Edit (Classic)’ link below posts.

您还可以使用经典编辑器编辑较旧的文章。 只需转到帖子»所有帖子页面,您将在帖子下方看到“编辑(经典)”链接。

Edit classic
方法2.将经典编辑器与禁用Gutenberg插件一起使用 (Method 2. Use Classic Editor with Disable Gutenberg Plugin)

If you want to disable Gutenberg for certain user roles and post types, then this method will help you do that.

如果您想对某些用户角色帖子类型禁用Gutenberg,则此方法将帮助您做到这一点。

First, you need to install and activate the Disable Gutenberg plugin. For more details, see our step by step guide on how to install a WordPress plugin.

首先,您需要安装并激活Disable Gutenberg插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

Upon activation, you need to visit Settings » Disable Gutenberg page to configure plugin settings.

激活后,您需要访问设置»禁用古腾堡页面来配置插件设置。

Disable Gutenberg settings

By default, the plugin will disable Gutenberg everywhere for all users on your website. However, if you want to limit it to certain user roles and post types, then you need to uncheck the ‘Complete Disable’ option.

默认情况下,该插件将在您的网站上的所有用户处禁用古腾堡。 但是,如果要将其限制为某些用户角色和帖子类型,则需要取消选中“完全禁用”选项。

Unchecking it will display more options to selectively disable Gutenberg for certain user roles, post types, theme templates, or individual posts.

取消选中它会显示更多选项,以针对某些用户角色,帖子类型,主题模板或单个帖子有选择地禁用Gutenberg。

Selectively disable Gutenberg

This option is helpful if you are using a WordPress plugin that’s not compatible with Gutenberg, but you want to use Gutenberg for other areas on your site.

如果您使用与Gutenberg不兼容的WordPress插件,但又想将Gutenberg用于站点的其他区域,则此选项很有用。

WordPress is the world’s most popular website builder powering more than 31% of all websites on the internet.

WordPress是世界上最受欢迎的网站构建器,为互联网上所有网站的31%以上提供支持。

It has thousands of plugins and themes and powers all kind of websites from eCommerce stores to membership communities.

它具有成千上万的插件和主题,并为从电子商务商店会员社区的各种网站提供支持。

A lot of these third-party tools rely heavily on the classic WordPress editor. The core team is trying to give developers enough time to make their plugins and themes compatible with Gutenberg. However, it is possible that many of these will not be fully compatible with the Gutenberg editor.

这些第三方工具中有很多都严重依赖经典的WordPress编辑器。 核心团队正在尝试给开发人员足够的时间,使其插件和主题与Gutenberg兼容。 但是,其中许多可能与Gutenberg编辑器不完全兼容。

If that’s the case, then these settings could be very helpful for you.

如果是这种情况,那么这些设置可能对您非常有帮助。

Don’t forget to click on the save changes button to store your settings.

不要忘记单击“保存更改”按钮来存储您的设置。

We hope this article helped you disable Gutenberg and keep the classic editor in WordPress. You may also want to see our list of the most wanted WordPress tips, tricks, and hacks.

我们希望本文能帮助您禁用Gutenberg并将经典编辑器保留在WordPress中。 您可能还想查看我们最想要的WordPress技巧,窍门和hack列表

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/plugins/how-to-disable-gutenberg-and-keep-the-classic-editor-in-wordpress/

wordpress 古腾堡

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值