如何在WordPress中禁用不需要的小部件

Do you want to disable unused widgets in WordPress? The widgets screen in WordPress shows you all the widgets that you can add to your theme. The problem is that too many widgets clutter the screen, and you may not need all of them. In this article, we will show you how to disable unwanted widgets in WordPress for a clutter free widget experience.

您是否要禁用WordPress中未使用的小部件? WordPress的窗口小部件屏幕显示可以添加到主题的所有窗口小部件。 问题是太多的窗口小部件使屏幕混乱,您可能不需要全部。 在本文中,我们将向您展示如何禁用WordPress中不需要的小部件,以获得无杂物的小部件体验。

如何在WordPress中禁用不需要的小部件

为什么要禁用WordPress中不需要的小部件? (Why Disable Unwanted Widgets in WordPress?)

Widgets are blocks of elements that you can add to your WordPress site’s sidebars or widget ready areas. WordPress comes with several default widgets of its own, and other WordPress plugins may add their own widgets as well.

窗口小部件是可以添加到WordPress网站的侧边栏或窗口小部件就绪区域中的元素块。 WordPress带有一些自己的默认小部件,其他WordPress插件也可能添加自己的小部件。

All these widgets can be seen on the Appearance » Widgets screen. However, you’ll notice that some of these widgets are not very useful, and you will probably never use them on your website.

所有这些小部件都可以在“ 外观»小部件”屏幕上看到。 但是,您会注意到其中的某些小部件不是很有用,并且您可能永远不会在您的网站上使用它们。

If you are using plugins that also add their own widgets, then soon the widgets screen will be a huge mess making it difficult to locate the widgets you actually want to use.

如果您使用的插件还添加了自己的窗口小部件,那么窗口小部件屏幕很快就会变得一团糟,这使得很难找到您实际想要使用的窗口小部件。

Let’s see how to easily clean up the widget screen by disabling unwanted widgets in WordPress.

让我们看看如何通过禁用WordPress中不需要的小部件来轻松清理小部件屏幕。

在WordPress中禁用不需要的小部件 (Disabling Unwanted Widgets in WordPress)

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

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

Upon activation, you need to visit Appearance » Disable Widgets page to configure plugin settings.

**后,您需要访问外观»禁用小部件页面来配置插件设置。

如何在WordPress中禁用不需要的小部件

The settings page is divided into two tabs. First you need to select the sidebar widgets that you want to disable. Simply check the box next to the widgets that you don’t want to use and click on the save changes button.

设置页面分为两个选项卡。 首先,您需要选择要禁用的侧边栏小部件。 只需选中您不想使用的小部件旁边的框,然后单击保存更改按钮。

You can now visit Appearance » Widgets page to see the difference. All selected widgets will no longer be visible on the widgets screen.

您现在可以访问Appearance»Widgets页面以查看区别。 所有选定的窗口小部件将不再在窗口小部件屏幕上可见。

如何在WordPress中禁用不需要的小部件

WordPress also displays several widgets on the Dashboard page. Some plugins and themes may also add their own widgets to your WordPress dashboard.

WordPress还在“仪表盘”页面上显示了几个小部件。 一些插件和主题可能还会将其自己的窗口小部件添加到WordPress仪表板。

Normally, you can clean up the dashboard screen by clicking on the screen options button and uncheck the widgets that you don’t want to see.

通常,您可以通过单击屏幕选项按钮来清理仪表板屏幕,然后取消选中您不想看到的小部件。

如何在WordPress中禁用不需要的小部件

However, doing this will allow you and other users on your site to simply click on screen options button and display those widgets again.

但是,这样做可以让您和您站点上的其他用户简单地单击屏幕选项按钮并再次显示这些小部件。

WP Widget Disable plugin allows you to hide dashboard widgets even from screen options menu.

WP Widget Disable插件使您甚至可以从屏幕选项菜单隐藏仪表板小部件。

Head over to Appearance » Disable Widgets page and click on the Dashboard Widgets tab.

转到外观»禁用小部件页面,然后单击仪表板小部件选项卡。

Select the widgets you want to hide from the dashboard screen and click on the save changes button to store your settings.

从仪表板屏幕中选择要隐藏的小部件,然后单击保存更改按钮以存储您的设置。

You can now visit the dashboard page to see it in action.

现在,您可以访问仪表板页面以查看其运行情况。

如何在WordPress中禁用不需要的小部件

You will notice that the widgets you selected to remove are no longer visible on the dashboard or inside screen options menu. You can also create your own custom WordPress dashboard widgets to display on the dashboard.

您会注意到,选择删除的小部件在仪表板或内部屏幕选项菜单上不再可见。 您还可以创建自己的自定义WordPress仪表板小部件以显示在仪表板上。

We hope this article helped you learn how to disable unwanted widgets in WordPress. You may also want to see our guide on how to hide unnecessary items from WordPress admin area.

我们希望本文能帮助您学习如何禁用WordPress中不需要的小部件。 您可能还想查看有关如何在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/plugins/how-to-disable-unwanted-widgets-in-wordpress/