in

Disable Unwanted Widgets in WordPress

How to Disable Unwanted Widgets in WordPress?

WordPress is an open source content management platform that comes with tons of customisation and features out of the box. You can install numerous themes and plugins to personalise your website even further. In addition to themes and plugins, many different widgets can be used in the sidebars which can improve the user experience of the website.

WordPress comes with many different default widgets, and you can add as many as you want on your website. Additionally, some of the plugins also include their exclusive widgets that can help the website owner in using the plugin effectively.

With the age of the website, the number of widgets on the site increases as well. If you visit the widget section of your website, you will notice that there are tons of unused widgets. Some of them are never used, and some of them will be those which you never knew that they exist on your website. All these widgets can make your site messy and hinders you from finding the widgets which you want to use.

The solution to this problem is to disable all the unwanted widgets and allow only those which are necessary. Most of the people don’t know the correct process of disabling unused plugins. If you are among those users, then below we mention the complete procedure for the same.

Step 1

There are numerous plugins available for WordPress that can simplify almost any process. In this process, we will be using a plugin name WP Widget Disable which is one of the best widget disabling plugin. All you need to do is head over to the WordPress admin dashboard and navigate to the Plugins> Add New page. Search for the plugin and press the Install Now button to begin the installation. Once you receive the success message, you need to click on the Activate Plugin link to start working with it.

Step 2

After you have successfully installed and activated the plugin, you need to open the Appearance> Disable Widgets page where you will be setting up the plugin. Once you open the settings, you will notice two tabs naming Sidebar Widgets and Dashboard Widgets. Firstly, you need to stay on the sidebar widget and check all the widgets that you don’t want on your sidebar. Upon selecting the widget, you need to press the Save Changes button to keep all the changes.

WP Widget Disable Settings

Step 3

Now that you have disabled widgets from the sidebar, it is time to click on the Dashboard Widgets tab. Here you will see all the widgets on your WordPress admin dashboard. You need to follow the same process and select all those widgets which you don’t want in your admin area. Once you are done with the selection, you can click on the Save Changes button to keep all the changes.

Step 4

After you have disabled all the unwanted plugins, you need to head over to your WordPress admin dashboard and open the Appearance> Widgets page to check whether the plugin worked or not. Perform the same step with the dashboard plugins to check the difference.

Disabling all the Default Widgets

Default widgets are the ones who are least used by the users. Most of the people tend to ignore those as most of them offer ordinary features. You can easily remove all the default widgets by pasting the following code into the functions.php file of your website. You can find this file in the wp-content> Themes> Current Theme folder. All you need to do is download the file to your system using any FTP client, paste the code, and upload that file back to your server.

// unregister all widgets

function unregister_default_widgets() {

unregister_widget(‘WP_Widget_Pages’);

unregister_widget(‘WP_Widget_Calendar’);

unregister_widget(‘WP_Widget_Archives’);

unregister_widget(‘WP_Widget_Links’);

unregister_widget(‘WP_Widget_Meta’);

unregister_widget(‘WP_Widget_Search’);

unregister_widget(‘WP_Widget_Text’);

unregister_widget(‘WP_Widget_Categories’);

unregister_widget(‘WP_Widget_Recent_Posts’);

unregister_widget(‘WP_Widget_Recent_Comments’);

unregister_widget(‘WP_Widget_RSS’);

unregister_widget(‘WP_Widget_Tag_Cloud’);

unregister_widget(‘WP_Nav_Menu_Widget’);

unregister_widget(‘Twenty_Eleven_Ephemera_Widget’);

}

add_action(‘widgets_init’, ‘unregister_default_widgets’, 11);

This was the complete procedure on how you can easily disable widgets using the WP Widget Disable and default widgets via functions.php. If you wish to use some other plugins, then below we have mentioned some of the best plugins that can serve the same purpose and may also have some additional features.

#1 Widget Options

This plugin is one of the most feature packet plugins to use for managing widgets. This plugin allows you to display widgets on any specific page you want. Be it any custom post or any category, you can add widgets to almost any page of the website.

Widget Options

We know that mobile internet is slower than any broadband connection. If you add multiple widgets on the mobile version of the site, then ultimately the side will take longer time than the usual to load. This problem is solved by this plugin as it gives you an option to choose from the widgets that you want to show on the mobile version of your site. This feature is not limited to just mobile devices, but you can enable different sidebars for each device version of your site.

This plugin also has a premium version that you can achieve anytime you want. The premium version comes with numerous widget management features, and some of them include custom widget styling, widget animations, disable any widget, widget cache, floating widgets, custom widget links and display widgets using the shortcode.

#2 Disable Widgets

The name says it all about this plugin. Unlike the Widget Options plugin, the sole purpose of using this plugin is to disable unnecessary widgets. The user interface and the layout is very similar to the WP Widget Disable plugin. In this plugin, all you need to do is open the plugin settings and check all the widgets which you want to disable.

Disable Widgets

It also has a drag and drop feature to enable any widget. You can easily deactivate the widgets with the same drag and drop feature. You need to just drag the widget out of the window, and all the settings of the widget will be deleted from your website.

Endnote

You can use any of the processes mentioned above and disable all the unused widgets. If you opt for the functions.php method and want to keep any of the default widgets, then you can remove the code from the file, and the widget will be back in action.

Leave a Reply

Your email address will not be published. Required fields are marked *

How to Prevent Duplicate Post Titles in WordPress?

How to Prevent Duplicate Post Titles in WordPress?

How to Update a WordPress Plugin via FTP?

How to Update a WordPress Plugin via FTP?