Have you ever ever needed to take care of the “Website well being” widget in your WordPress dashboard? You already know, the one which tells you the way effectively your web site is performing based mostly on some arbitrary standards that nobody actually understands. Effectively, I’ve, and let me inform you, it’s not enjoyable. Particularly when my clients begin to panic about “Why is my web site well being is Good and never Glorious”.
WordPress web site well being widget points
As an internet developer, I’ve to take care of numerous issues: coding, debugging, testing, deploying, and naturally, coping with purchasers. However nothing annoys me greater than the “Website well being” widget displayed on the dashboard. It’s supposed to offer me a fast overview of how effectively my web site is performing, however as an alternative it provides me complications.
Particularly when my clients begin to panic about “Why is my web site well being is Good and never Glorious”. They suppose that “Good” means dangerous and “Glorious” means good. They don’t perceive that there are lots of elements that have an effect on the location well being rating and that it’s not a mirrored image of their enterprise success.
They begin bombarding me with emails and calls asking me to repair their web site well being rating. They don’t care concerning the precise performance or design of their web site. They simply wish to see that inexperienced examine mark subsequent to “Glorious”. Generally I want I might simply disable that widget or change it to one thing extra practical like “Your web site is alive and kicking” or “Your web site will not be on hearth”.
They suppose that their web site is doomed to fail as a result of it doesn’t have sufficient plugins or themes or no matter. They name me up and demand that I “repair their web site well being instantly or else….” They don’t care that their web site is quick, safe and user-friendly. They solely care about that silly widget.
It’s not useful. It’s annoying. It’s like having a nagging mother-in-law who continuously criticizes your cooking and your parenting abilities. It’s like having a dentist who tells you that it’s good to floss extra each time you go to him. It’s like having a trainer who provides you a B+ as an alternative of an A since you forgot to place a comma in your essay. It’s like having a… effectively, you get the concept. The “Website well being” widget is the bane of my existence and I want it might go away.
The right way to take away Website well being widget from the WordPress Dashboard?
So, if you want to take away web site healt widget from the WordPress dashboard, then use this snippet right here under. In the event you don’t know the place so as to add the code snippet, then add it both to your youngster theme’s capabilities.php file or higher but, use a snippet supervisor like Code Snippets
There may be additionally a WpCodeBox plugin, which is my favourite code snippets supervisor for WordPress. This can be a premium plugin and in the event you’re , then seize WPCodeBox with a pleasant 20% low cost right here (SAVE 20% Coupon WPSH20).
// Take away Website Well being widget from the Dashboard
add_action(
'wp_dashboard_setup',
perform () {
international $wp_meta_boxes;
unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_site_health'] );
}
);
And there you go: now your web site well being widget has been faraway from the WordPress dashboard.