You don’t need to be Superman to clean up your WordPress dashboard

If you’re customizing WordPress for a client or yourself, you have probably considered customizing the dashboard. Since it’s the first thing you and your clients will see after login, it is definitely a good idea to make that page more personal.

In this article, we will show you how to remove those standard widgets from the dashboard. Whether you just don’t want to see recent comments, or you want to remove WordPress news, you can easily customize the dashboard.

With the code that we’ll show you in the following lines, you can easily extract widgets that you want to remove, hit the save button and you will be done in a jiffy.

Remove widgets and clean up your dashboard:

  1. Open your functions.php file or site specific plugin that you have created
  2. Copy and paste this code:
  3. //Remove WordPress Widgets from Dashboard Area
    function remove_wp_dashboard_widgets(){
    remove_meta_box('dashboard_right_now', 'dashboard', 'normal');   // Right Now
    remove_meta_box('dashboard_recent_comments', 'dashboard', 'normal'); // Recent Comments
    remove_meta_box('dashboard_incoming_links', 'dashboard', 'normal');  // Incoming Links
    remove_meta_box('dashboard_plugins', 'dashboard', 'normal');   // Plugins
    remove_meta_box('dashboard_quick_press', 'dashboard', 'side');  // Quick Press
    remove_meta_box('dashboard_recent_drafts', 'dashboard', 'side');  // Recent Drafts
    remove_meta_box('dashboard_primary', 'dashboard', 'side');   // WordPress blog
    remove_meta_box('dashboard_secondary', 'dashboard', 'side');   // Other WordPress News
    add_action('wp_dashboard_setup', 'remove_wp_dashboard_widgets');
    //Remove  WordPress Welcome Panel
    remove_action('welcome_panel', 'wp_welcome_panel');
  4. Read through the code and choose widgets that you want to keep
  5. Remove that line of code
  6. Save changes

Although every line of code is commented so you can easily recognize the widget which is being removed, you are free to explore the code and add/remove piece by piece until you get the combination of widgets which you prefer.

Before you get confused about the other widgets that might be on your dashboard, you should note that the above-given code will remove only the default widgets which come with WordPress. If there are any custom widgets installed by you or any 3rd party plugin, those won’t be affected by the code and you will have to remove them manually.

If you’re using a new version of WordPress where screen option layout has been removed, you can bring it back or you can manually choose a number of columns displayed on the dashboard.

Are you a YouTube video junkie? If so, you might be interested in adding YouTube analytics on the dashboard.

Have you done more changes to your dashboard? Let us know in the comments.

Start Blog Book


This guide is an introduction to mastering the art of blogging. It provides easy to follow steps to start, maintain, and grow your blog.

Read the guide

Leave a Reply

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