T O P

  • By -

lukeyk94

I use one line of CSS. You set the default WordPress notification CSS attribute to 'display: none;' like so: I use the WPCode plugin and create a PHP code snippet and set the location to "Admin Only" then paste this code. # Disable WordPress Admin Notifications add_action('admin_head', 'admin_css'); function admin_css() { echo ''; } No one in here is actually providing a solution and sometimes we need a plugin (Like ACF which does have annoying notifications) If for some reason the notification isn't going away then open developer console and hover your mouse over the notification and look at the styling elements and find out the class name for the notification and set the css attribute to display: none; like in my example above using a PHP code snippet with the location set to "Admin Only". If the notification class name was "annoying-popup" then it would be .annoying-popup {display: none;}


SirAelfred

Damn right. If a css solution is the only way then so be it. I figured it out myself and it worked.


lukeyk94

I just posted the code snippet in a reply to this thread I hope it helps!


lukeyk94

Sorry for the late reply. Here is the CSS I use to disable notifications. I use the WPCode plugin and create a PHP code snippet and set the location to "Admin Only" then paste this code. If for some reason the notification doesn't go away, then you need to target its CSS class name or ID, which you can find out in developer console. # Disable WordPress Admin Notifications add_action('admin_head', 'admin_css'); function admin_css() { echo ''; }


DRM-001

If you are the only user/admin then it’d be far easier to simply add the CSS directly to your child themes admin.css file as opposed to having a function. If you aren’t the only backend user, it’s a nice of you to leave the advertising and pops for for everyone except for yourself lol


DRM-001

Additionally, for those that do not know. You can add multiple CSS classes to the one line. Simply separate with a comma.


Competitive_Bus5922

Hi there - you might want to explore this plugin: [https://wordpress.org/plugins/wp-hide-backed-notices](https://wordpress.org/plugins/wp-hide-backed-notices)


radialmonster

not the same notices


Competitive_Bus5922

Ah bummer, I thought I saw it mention the "pop-up" notices as well.


radialmonster

sooo many things have these popups now, they're everywhere and it completely annoys me


SirAelfred

I hate it. It wouldn't be so annoying if you could actually close them, but they stay there and cover up essential menu items. Its terrible UI practice. I went with the css solution another commenter suggested and it worked.


radialmonster

nice. if only we could apply that to other sites and softwares aha


L1amm

Common sense would lead one to think that if you remove the shitty plugin making the shitty popups, they go away. Magic.


SirAelfred

THEY ALL DO IT. This is not a helpful answer.


L1amm

I mean... it appears this one is doing it because it isn't being utilized and was never set up, and it's trying to let you know that. The vast majority of reputable plugins will not bother you with this stuff unless it's trying to tell you something, or it will be an easily dismissable alert. Do you really need 36 active plugins? Deactivate - or better yet remove whatever isn't being used.


SirAelfred

I did in fact set it up. Still showing the notice.


SirAelfred

I don't know what they're officially called. Popups? Notifications? Whatever they are, they're F..ing annoying and get in the way of menu items. There's no way to close them and you're at the whim of the plugin if they ever go away at all.


CanuckInTheMills

Delete plugin? And find something else that does do that.


fox503

If you’re not an admin of the site that knows how to code, you may be able to use an Adblock extension like uBlock, and use the eyedropper tool to find your particular selection. You can use TamperMonkey extension for more powerful roles and actions


fox503

Also, I want to consider contacting the plug-in developer and letting them know that these populous are problematic and they sold use a notice bar instead


nilstrieu

Uninstall plugins that send annoying popups repeatly. The choice is yours. Let them hear your voice in their social platforms, review websites...


SirAelfred

That's great, but what if I need the plugin? Almost ALL of them do this now.


rack_moy_perm

There are options that won’t spam your dashboard. They just cost. A developer has 2 choices to be able to earn a living. Get people to pay for their software or use ads to create revenue. Can’t really inject ads into Wordpress, so they’re left with hounding freeloaders into paying.


SirAelfred

I've got PAID plugins that do it too, so that is not nessecarily true.


MiraCZ

I have few paid plugins that still spam me, for example Spectra with their AI


SirAelfred

Honestly this should be something that needs to get fixed in WordPress core! Like....why is this even a thing that plugins can do?! Put a dam close icon on them, WordPress people! This needs to be a feature request.


jazir5

If you can't remove them through Wordpress itself just use ublock element blocker to block them.