April 24, 2023

Declutter WordPress Dashboard with Code Snippets

Play Video

Declutter WordPress Dashboard to focus on the important things. This tutorial will guide you on how to achieve a clean and organized WordPress dashboard by using a simple yet powerful tool – Code Snippets. This approach presented by Imran from Web Squadron is not only efficient but also user-friendly, eliminating the need for a child theme and providing a rollback feature for safety. By the end of this tutorial, you will have a streamlined WordPress dashboard, enhancing your productivity and user experience.

Steps to Declutter WordPress Dashboard

  1. Install the Code Snippets Plugin
    Navigate to your WordPress dashboard, go to ‘Plugins’, click ‘Add New’, and search for ‘Code Snippets’. Install and activate the plugin.
  2. Add a New Snippet
    Once the plugin is activated, go back to your WordPress dashboard, navigate to ‘Snippets’, and click ‘Add New’. Give your new snippet a title.
  3. Copy the Code
    Copy the relevant code below.

    function remove_dashboard_widgets() {
        remove_action( 'welcome_panel', 'wp_welcome_panel' );
        remove_meta_box( 'dashboard_right_now', 'dashboard', 'normal' );
        remove_meta_box( 'dashboard_activity', 'dashboard', 'normal' );
        remove_meta_box( 'dashboard_quick_press', 'dashboard', 'side' );
        remove_meta_box( 'dashboard_primary', 'dashboard', 'side' );
        remove_meta_box( 'dashboard_site_health', 'dashboard', 'normal' );
         remove_meta_box( 'e-dashboard-overview', 'dashboard', 'normal' );
    }
    add_action( 'wp_dashboard_setup', 'remove_dashboard_widgets' );

    Source: Code Snippets

  4. Paste the Code
    Go back to your WordPress dashboard, paste the copied code into your new snippet. If you don’t have Elementor installed, remove the line that says ‘e_dashboard_overview’.
  5. Save and Activate
    Click ‘Save Changes’ and then ‘Activate’. Your WordPress dashboard should now be decluttered.

Why you should Clean up WordPress

Understanding how to declutter your WordPress dashboard can significantly enhance your productivity and user experience. A clean and organized dashboard allows you to focus on what truly matters, reducing distractions and improving efficiency. Furthermore, the skills acquired from this tutorial can be applied to other aspects of WordPress management, making it a valuable addition to your WordPress knowledge base.

Use Cases for this Tutorial

Declutter WordPress dashboard helps particularly those WordPress users who manage multiple plugins and features. By decluttering the dashboard, users can easily navigate and manage their WordPress site. It’s also beneficial for web developers who want to provide a clean and user-friendly dashboard for their clients.

Common Issues

  1. Code Not Working
    Ensure you’ve copied the code correctly and pasted it into the right place. Also, check if the Code Snippets plugin is activated.
  2. Elementor Line Error
    If you don’t have Elementor installed, remember to remove the line that says ‘e_dashboard_overview’ from the code.

Required Resources

Code Snippets Logo
Free Options
Credit to Web Squadron
Web Squadron is a popular YouTube channel dedicated to providing informative tutorials, tips, and insights on web development and design. With a strong focus on WordPress and website builders like Bricks Builder, the channel aims to help users of all skill levels, from beginners to advanced developers, create and optimize their websites. By offering easy-to-understand, step-by-step guidance, Web Squadron provides practical and valuable content.
Visit
Declutter WordPress Dashboard with Code Snippets
Welcome back!
Enter your Helwp credentials to sign in.

No Account yet? Sign Up

My Account
Menu
Give Feedback
Describe your feedback *
Rate Helwp
Share
Facebook
Twitter
LinkedIn
Reddit
Email
WhatsApp
Telegram
Pocket
Report
Problem *
Describe the problem
Want us to reply?
Your E-Mail
Affiliate Disclosure

At Helwp, we’re committed to transparency and honesty. Therefore, we want to inform you that some of the links on our website are affiliate links. This means that, at no additional cost to you, we may earn a small commission if you click through and make a purchase.

We only promote products or services that we genuinely believe in. These affiliate commissions help us to maintain the website and continue to provide you with free, high-quality WordPress content.

If you are interested in how you can support us even further, check out our support page.