How to Disable Unwanted Widgets in WordPress


How to Disable Unwanted Widgets in WordPress
Bert Stewart

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.

How to Disable Widgets in WordPress
Marg Cornell

Do you want to disable Widgets which are not useful for you anymore? The widgets screen in WordPress shows you the widgets which you can add to your theme. The matter is that too many widgets may muddle your screen, and you don’t need all of them. In this article, we are going to tell you the ways to disable widgets in WordPress for your muddle free widget experience.

BestWebSoft
Alejandro Fox

// 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’);
unregister_widget(‘WP_Widget_Media_Audio’);
unregister_widget(‘WP_Widget_Media_Image’);
unregister_widget(‘WP_Widget_Media_Video’);
unregister_widget(‘WP_Widget_Custom_HTML’);
}
add_action(‘widgets_init’, ‘unregister_default_widgets’, 11);

WordPress.org
Leslie Gregory

This simple plugin allows you to disable any sidebar and dashboard widget for the current WordPress site you are on. It provides a simple user interface available to users with edit_theme_options capabilities (usually Administrator role) available under Appearance -> Disable Widgets.
After saving the settings, the sidebar and dashboard widgets are removed from and the user can’t see those widgets anymore.

How To Remove Unwanted P Tags from WordPress Posts & Widgets?
Rolando Sharp

Today I have added few lines of html code in HTML / Text widget of WordPress and I was constantly getting a paragraph / line space <p></p> added automatically to my widgets. It was very annoying and I had tried various plugins to disable / remove unwanted paragraph tags from my wordpress site’s widget. None of them worked for me. They might work fine for wordpress posts, but not for the widgets.

Be the first to comment

Leave a Reply

Your email address will not be published.


*