How To Remove WordPress Admin Notices And Nag Screens For Good!

preview_player
Показать описание
In this WordPress tutorial, I'll show you how to permanently remove all those annoying admin notices and nag screens inside of your WordPress admin area.

Custom function to remove admin notices (remember to edit the classes)

EXCLUSIVE WORDPRESS DEALS 2023
* Want to offer a discount to WPCrafter subscribers, contact me on my website

BEST WORDPRESS PAGE BUILDERS

BEST WORDPRESS HOSTING

CONTACT WPCRAFTER

All of the opinions expressed in this video are my own, I was not paid to make this video. Whenever there is a link in any of my videos, if there is a referral program available, please assume that you are clicking on a referral link.
Рекомендации по теме
Комментарии
Автор

Those of you looking for the code snippet (since URL gives 404 error). Remember to edit the classes, because these cover a wide range of nags by default.

add_action('admin_head', 'remove_admin_nags');

function remove_admin_nags() {
echo '<style>
.update-nag, .updated, .error, .is-dismissible { display: none !important; }
</style>';
}

KrikkeDR
Автор

Great video as always. I wonder if you'll ever make a channel for techies. I would love that! 😁

UrielSoto
Автор

Fantastic!! Good bye nags!! Another brilliant video. Thanks Adam.

chrisgarland
Автор

Thank you so much Adam for such a helpful tutorial. I solved my issues and I am thankful to you!

abramarif
Автор

Thank you Adam, very good content as always!

manueljcmatos
Автор

Thank you for this tutorial. I need this so bad for client sites.

OusmanFaal
Автор

Code Snippets - must be the most useful thing (among many) I've learned about from you. Swiss army knife supreme

begriddled
Автор

Thank you so much Adam for such a helpful tutorial.

saidulislamdev
Автор

The Plugin is much better way, thanks

harshagarwal
Автор

cool details thank you!! really wish is was tab-able and in a separate organizational kanban process for bette workflow and actions...

KaiBuskirk
Автор

This plugin is still working in May of '22. What a freaking relief. happy sigh

linda_sue
Автор

Good video Adam! Since we manage hundreds of sites, the scheme you showed Adam is great for a few sites. I would like to use the coding to keep the plugins down, but since you have for all possible marketing notices. Wonder if there is an easier way for hundreds of sites?

doubler
Автор

That's super cool. CSS part is just awesome.

Gtarafdarr
Автор

best & very great, I'm looking for a video on how to hide admin notices ... is there support for multisite?

shaaruru
Автор

I would always use adding code in function, s.php, That keeps sebsite light and fast. Sometime I see there are so many plugins which can be avoided by adding simple code to your website.

LetsCreateYourWEBSITE
Автор

Very helpful indeed adam. These notifications can sometimes be very annoying. I do have one question though...since we have to install the code snippet plugin...doesn't that mean we need a plugin for both methods? Is there a way to insert the snippet directly?

ultimatekv
Автор

Hi. Thanks for the tutorial.
Just a question. Will the result be maintained after I deactivate the plugin? I mean, when I use it to hide the Admin notices and delete the plugin will I get the notices back?

wpglob-wordpresstutorials
Автор

One of the most obnoxious behaviors from plugin developers. And special shout out to elementor, especially now for the admin notice bar no one asked for. Clients are shocked when they login to their dashboard and find their dashboard full of these stupid notices.

glencoe
Автор

Thank you. Your link in the description doesn't work though.

KarenShanley
Автор

CODE MIA - but easy to manually duplicate. Thanks!!

BradWarren
join shbcf.ru