wordpress hide warnings and notices

Best Plugins For WordPress To Hide Warnings And Notices

Table of Contents

If you've been using WordPress for a while, you've certainly noticed that various messages appear on your WordPress admin dashboard screen from time to time whenever you install a plugin or a theme. These kinds of notifications, also known as admin notices, serve to tell you of various events relating to your WordPress site, such as issues, warnings, successful (or unsuccessful) installations, newly accessible upgrades, and so on.

These alerts are, of course, very useful because they each serve a distinct purpose. They can assist you in keeping your site up to date and well-maintained, as well as resolving a variety of new difficulties, both technical and user-related. But like everything else, too much of those can cause disturbance in maintaining your WordPress website.

In this post, we will see ways and the best plugins used in WordPress to hide warnings and notices which are not useful or annoying sometimes. But first, let's learn about types of WordPress admin notices, warnings, their advantages, and disadvantages.

Admin Notices Types

In your WordPress admin dashboard, you'll often encounter four different types of admin notices. These are:

Information notices – These notices have a blue border and are used to display simple forms of information. Some Developers use it to promote their premium products. Most of the Fremium plugins will use these notices to show the premium product of the free plugin you have installed on your WordPress website.

Success notices– as the name implies, these types of notifications display when you make successful changes to your WordPress site, such as publishing a new post, installing a plugin, or changing a configuration. They have a green border around them. There is nothing to worry about these notices.

Warning messages — These yellow-colored warnings alert you to the fact that something on your website deserves your attention. Plugin updates, theme changes, and WordPress core changes are usually the topics of these messages. It is always a good practice to give attention to these warning messages and update the respective theme or plugin.

Error warnings – if something is wrong with your site, errors will show (this usually applies to a faulty theme, page, or plugin). The error message will be shown with a red border.

We should add that certain plugins may display their own admin notices with a specific set of colors that match their design. But still, many of them follow the color criteria we mentioned earlier.

The main objective of these colors is to help a user determine what form of notification it is as soon as they glance at it – whether it's a casual, “non-threatening” type of alert or one that needs immediate inspection and attention. As a result, the colors can also be useful in evaluating the importance of various types of messages.

The Advantages of WordPress Admin Notifications

Admin notices are useful because they help keep a WordPress site running smoothly. They are used to send critical information to users and to notify them of any key background operations that are occurring, as well as any processes that have completed.

As a result, they have the potential to improve the entire user experience in several aspects. Users can be notified when a plugin is installed or updated, when a draft is saved, or when a user creates a post, for example, letting them know that these actions were completed successfully.

Aside from contributing to the usability of your site, these types of notices can be valuable in a variety of ways. For example, if you install a specific plugin, you may receive warnings from time to time informing you of any issues that need to be addressed or if the plugin requires an update to function properly. In addition, failing to keep up with plugin updates (or any other update, for that matter) could put your site at risk of being hacked.

Plugin authors may also utilize admin notices to inform you of any features that will be available if you upgrade to the premium version of the plugin. This is handy if you plan to expand the functionality of your website and don't mind these types of notices in general.

Theme developers may also display various notices informing you of what you need to do in order for the theme to function properly or to enable a certain theme feature (like updating your theme, install a specific plugin, and so on).

Finally, admin notifications can be used to send internal messages among website members, such as scheduled site maintenance or any other essential updates, in addition to these default or theme and plugin-induced notices. If numerous users have dashboard access and use it on a regular basis, these kinds of messages are quite useful.

Not only may admin notices assist you to gain a better understanding of your site's inner workings, but they can also improve the overall user experience while maintaining its functionality.

The Drawbacks of WordPress Admin Notifications

Despite all of the advantages listed above, many WordPress users find their existence to be bothersome at worst and doubtful at best. Here are some of the most common problems with administrative notices:

Too many notices — if you have too many third-party plugins installed, you will almost certainly have too many notices. This can be aggravating because these notices can quickly overcrowd your admin area, making it difficult to manage. Worse yet, having too many alerts can cause your site to slow down, lowering your conversion rates in the long term.

Insignificant notices – as we indicated at the outset, there are several different types of notices. Some of these notices, though, may display when they aren't required. This occurs when developers include an excessive number of minor sorts of notices that provide little real value to users.

While some users may find marketing promotions useful, others may find them irritating. Notices used to advertise premium plugins and other similar offers are what we're talking about. While these alerts are normally only displayed on plugin-related pages, some plugin developers make them appear on other dashboard pages as well, which can be very inconvenient.

How to Manage WordPress Admin Notifications Effectively

So, to summarise, the more plugins and features you add to your WordPress site, the more likely you are to receive alerts that will cause you more problems than anything else. Disregarding your administrative notices isn't the ideal answer, though, because you'll miss out on the crucial ones. These can be messages about backup alerts or any other technical concerns that, if not addressed, could threaten the security of your website.

3 Best WordPress Plugins To Hide Notices and Warnings

Installing a good plugin that will help you successfully handle all of your admin notices is the easiest method to keep up with them all. We will see now what are our available options to do so.

Admin Notices Manager

This plugin is fantastic since it creates a notification area where you can quickly check all of your admin notification messages, including ones you've previously disregarded. Once you've installed and activated the plugin, you'll notice a notification in the upper right corner of your screen informing you that all of your alerts will be displayed there:

wordpress debug hide notices
wordpress debug hide notices

You may also quickly configure your plugin settings by navigating to Settings >> Admin Notices. This includes deciding which notices you want to hide from the WordPress dashboard and show in the plugin's popup, which ones you want to totally hide, and which ones you want to remain on your dashboard as is.

wordpress hide all notices
wordpress hide all notices

All of your normal WordPress admin notices (success, error, warning, and information), non-standard admin notices (used by third-party plugins and themes), and WordPress system admin notifications can be configured using these options.

This plugin has also the option to hide no-level notices. These are the notices created by plugins and themes with no definition of severity level. This means the plugin/theme developer hasn't assigned any kind to the errors generated by that plugin/theme. This is a nice feature to control the undefined notices too.

Another good setting in this plugin is to not hide the WordPress system admin notices. These kinds of notices are generated by WordPress itself to tell you the confirmation of any WordPress core settings or successful activation or deactivation of the plugin/theme.

Remember to save your changes after you've finished adjusting the plugin settings.

We recommend entering into your site more frequently, in addition to installing the plugin that will help you manage all of your admin notices. Even if you don't need to generate or publish any new content, give it a shot. This allows you to rapidly check for any new warnings and determine which ones demand immediate attention and which ones can be ignored. If you do this on a regular basis, you can avoid receiving too many alerts and guarantee that your site is constantly working as planned.

Disable Admin Notices individually

This is a tried and tested plugin by our team. We have placed this in second place because we recently noticed that it has not been updated and tested with the latest version of WordPress at the time of writing this post. It is still a very popular plugin for managing and hiding WordPress warnings and notifications.

This is a freemium plugin where the WordPress repository version of the plugin has limited features and to get more features you have to opt for their paid plans.

wordpress hide dashboard notifications
wordpress hide dashboard notifications

This plugin comes with a useful feature of hiding notices in its free version itself. You can either select to disable all notices at one time or select each of the notices individually whenever you see them. Here is the video from the developer showing the settings in practice to hide wp warnings.

The plugin settings panel showcases lots of other features but all of them are for the paid version of the plugin. Its Hidden Notices section, Block Ad Redirects section and Hide Adminbar Items section are all hidden for pro users only.

This plugin offers limited settings in the free version to hide admin notices in WordPress but it works very efficiently and does its job well. It is also used by the developers of WordPress themes and plugins to hide debug notices.

This is the only plugin that can also hide WordPress update notifications in the dashboard. Although we don't recommend you do that because it is always a good practice to keep your WordPress updated whenever there is a new release out in the public.

Hide Admin Notices

This is a fairly new plugin with good responses so far from some of the users in the WordPress community. It has only 2000+ installations at the time of writing this post.

This plugin is a simple click-and-play kind of plugin with no settings page. You just activate the plugin and it starts to collect the WordPress notifications and all other notices in the right top corner of the screen just beside the screen options button.

wordpress hide plugin notices
wordpress hide plugin notices

You can see all your notices here in one place and decide to close them or perform any other actions to them. This is a simple plugin for WordPress to hide all notices and any other plugin notices. It is also very well coded and doesn't conflict with any other plugins or themes installed on your WordPress.

The only downside to this plugin is that you have to manage all the notices manually on its screen. Imagine if you collected 50+ WordPress notifications. It will be a huge task to keep closing them individually. A settings screen where you can hide all the WordPress notices would be a nice improvement to this plugin.

Turn OFF PHP Notices In WordPress

wordpress hide php notices
wordpress hide php notices

PHP notices in WordPress are very uncommon for its users and very common for its developers. Any developer who has worked on WordPress to develop a theme or plugin has seen these errors and uses them to debug their code.

Even though they are very common for developers, they shouldn't be visible to WordPress users. But sometimes these errors slip out of the eyesight of WordPress developers and drop in the WordPress dashboard while managing the website.

These PHP notices are more common in WordPress themes compared to WordPress plugins. If the developer has not updated the theme to the latest WordPress version, these errors are visible in the dashboard and sometimes on the main website too.

Solution To Hide WordPress PHP Notices

Unfortunately, there is no plugin that can fix these errors. This is because these kinds of errors are from PHP, the engine behind all the WordPress is based upon.

So any plugin which tries to fix this error from within the dashboard has to have rights equal to the PHP on the server operating system. This is not possible to happen as WordPress itself has fewer privileges than PHP and WordPress Plugins also get fewer privileges same as WordPress.

But not to worry, there is an easy fix within WordPress to hide these notifications. This can be done by editing one of the core files of WordPress called the wp-config.php file.

Yes, you have to touch this core file of WordPress to fix these errors. FTP software like Filezilla can be used to download, edit and re-upload the wp-config.php file.

All you have to do is to replace this line in wp-config.php in the main installation directory of your WordPress:

define('WP_DEBUG', false);

with these lines

ini_set('display_errors','Off'); 
ini_set('error_reporting', E_ALL ); 
define('WP_DEBUG', false); 
define('WP_DEBUG_DISPLAY', false);

With these lines, you are instructing WordPress to turn off the display of errors or notifications from PHP. Also to turn off the debug errors caused by WordPress.

If you happen to make any mistake in the above code, you can fix the errors by cross-checking from this post: WordPress: Error establishing a database connection

Final Words

WordPress Admin notices are useful notifications that serve to present users with various forms of information and provide appropriate feedback on various site-related events. However, if you use too many third-party plugins, you may find yourself dealing with an excessive number of alerts. This can make them tough to manage and possibly cause you to overlook important notifications that are critical to maintaining your website's effectiveness.

Consider visiting your website's backend more frequently, dismissing messages you don't need, and using a plugin to help you manage all of your notifications. As a consequence, your dashboard will be cleaner, your user experience will be smoother, and your website will be healthier.

And better of all, try to use minimum plugins and hire a good WordPress development team like ours here at UnderWP to achieve your website development targets either by coding or minimal use of WordPress plugins. We always use a minimum amount of plugins to create our client websites.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: