{"id":1786,"date":"2024-12-26T12:33:36","date_gmt":"2024-12-26T11:33:36","guid":{"rendered":"https:\/\/wpmastertoolkit.com\/module\/masquer-les-notifications-dadministration\/"},"modified":"2025-01-20T10:11:38","modified_gmt":"2025-01-20T09:11:38","slug":"masquer-les-notifications-dadministration","status":"publish","type":"module","link":"https:\/\/wpmastertoolkit.com\/en\/module\/hide-administration-notifications\/","title":{"rendered":"Hide administration notifications"},"content":{"rendered":"<h1 class=\"wp-block-heading\">Hide admin notices with WPMasterToolKit's \"Hide Admin Notices\" module<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">In a WordPress environment, admin notices are a valuable tool for displaying important alerts, updates or recommendations. However, they can quickly become invasive, especially if several plugins use them excessively. To address this problem, we've developed the <strong>\"Hide Admin Notices<\/strong> for the plugin <strong>WPMasterToolKit<\/strong>. This module allows you to hide these notifications while retaining the possibility of accessing them at any time via a dedicated interface.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Which plug-in can Hide Admin Notices replace?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This module can replace plugins such as <strong>Admin Notices Manager<\/strong>, <strong>WP Hide Notices<\/strong> or other similar solutions that focus on controlling admin notifications in the WordPress dashboard. With \"Hide Admin Notices\", you don't need to add an additional plugin, as this feature integrates directly into your installation via WPMasterToolKit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why hide administration notifications?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Administration notifications are important, but they can be detrimental to productivity and dashboard readability if they accumulate. Here are some of the advantages of hiding these notifications with our :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Enhanced user experience<\/strong> A clean, distraction-free dashboard.<\/li>\n\n\n\n<li><strong>Centralized management<\/strong> All notifications are accessible in a customized modal window.<\/li>\n\n\n\n<li><strong>Reduced visual stress<\/strong> You can choose when to view messages, without interruption.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How the \"Hide Admin Notices\" module works<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The \"Hide Admin Notices\" module takes a simple yet effective approach to managing administrative notifications:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Notification masking<\/strong> All administration notifications are hidden from the main dashboard screen.<\/li>\n\n\n\n<li><strong>Access via the administration bar<\/strong> A discreet bell-shaped icon is added to the top administration bar. This icon displays the number of notifications available.<figure class=\"wp-block-image size-full\"><img alt=\"Notifications icon on WordPress dashboard.\" fetchpriority=\"high\" decoding=\"async\" width=\"538\" height=\"205\" src=\"https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-134.png\" class=\"wp-image-4063\" srcset=\"https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-134.png 538w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-134-300x114.png 300w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-134-18x7.png 18w\" sizes=\"(max-width: 538px) 100vw, 538px\" \/><\/figure><\/li>\n\n\n\n<li><strong>Consultation in a modal window<\/strong> Clicking on the icon opens a modal window displaying all notifications in a dedicated space.<figure class=\"wp-block-image size-large\"><img alt=\"Screenshot of WordPress plugins with notification.\" decoding=\"async\" width=\"1024\" height=\"469\" src=\"https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-135-1024x469.png\" class=\"wp-image-4064\" srcset=\"https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-135-1024x469.png 1024w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-135-300x137.png 300w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-135-768x351.png 768w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-135-1536x703.png 1536w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-135-18x8.png 18w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-135.png 1803w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Technical details<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Scripts and styles<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The module uses custom CSS and JavaScript files to style and manage interactions. These files are only loaded when the module is activated, in line with the philosophy of <strong>WPMasterToolKit<\/strong> which limits the resources loaded to optimize performance.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Administration bar<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">An entry is added to the administration bar using the <code data-no-auto-translation=\"\">wp_admin_bar-&gt;add_menu()<\/code>. This entry displays :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A bell-shaped icon.<\/li>\n\n\n\n<li>Total number of unread notifications.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Modal window<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The modal window is an HTML component displayed at the bottom of the page. It includes :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A button to close the window.<\/li>\n\n\n\n<li>A reserved area where notifications can be displayed dynamically via the <code data-no-auto-translation=\"\">wpmastertoolkit\/hide_admin_notices\/modal_body<\/code>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How do I use the Hide Admin Notices module?<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Activation<\/strong> In the WordPress dashboard, activate the module <strong>\"Hide Admin Notices<\/strong> from the WPMasterToolKit interface.<\/li>\n\n\n\n<li><strong>Notification management<\/strong> :\n<ul class=\"wp-block-list\">\n<li>Once activated, administration notifications will be hidden.<\/li>\n\n\n\n<li>Click on the bell icon in the administration bar to open the modal window containing all notifications.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Personalization<\/strong> You can use the <code data-no-auto-translation=\"\">wpmastertoolkit\/hide_admin_notices\/modal_body<\/code> to add content or customize the display of notifications in the modal window.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Why this technical choice?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">We have opted for management via a modal window for several reasons:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Visual clarity<\/strong> In contrast to a permanent dashboard display, the modal allows for a clean, organized user experience.<\/li>\n\n\n\n<li><strong>Performance<\/strong> By loading styles and scripts only when the module is activated, we minimize the impact on site performance.<\/li>\n\n\n\n<li><strong>Extensibility<\/strong> : Thanks to the hook <code data-no-auto-translation=\"\">wpmastertoolkit\/hide_admin_notices\/modal_body<\/code>Developers can enrich or customize the content of the modal window.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The module <strong>\"Hide Admin Notices<\/strong> is an ideal solution for keeping your WordPress dashboard clean and organized. By hiding admin notifications while offering quick and convenient access via a modal window, this module enhances the user experience while reducing distractions. If you've had enough of intrusive notifications in WordPress, this module is for you. Test it now with <strong>WPMasterToolKit<\/strong> and regain control of your dashboard!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>WPMasterToolKit's Hide Admin Notices module has been designed to offer a cleaner user interface in the WordPress dashboard by hiding superfluous administrative notifications. This module aims to reduce distractions and improve productivity by offering a lightweight integrated solution, replacing existing individual plugins such as \"Admin Notices Manager\". It activates automatically after activation in WPMasterToolKit, hiding notifications directly in the dashboard and allowing users to access a dedicated page to view hidden notifications if required. This module uses WordPress hooks to visually hide notifications, offering simplified management and a more organized dashboard.<\/p>","protected":false},"featured_media":0,"parent":0,"template":"","meta":{"_acf_changed":false,"_seopress_titles_title":"Optimisez votre tableau WordPress avec Hide Admin Notices","_seopress_titles_desc":"Optimisez votre productivit\u00e9 avec le module Hide Admin Notices de WPMasterToolKit, en masquant les notifications administratives superflues sur WordPress.","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":0,"_seopress_analysis_target_kw":"","_seopress_news_disabled":"","_seopress_video_disabled":"","_seopress_video":[],"_seopress_pro_schemas_manual":[],"_seopress_pro_rich_snippets_disable_all":"","_seopress_pro_rich_snippets_disable":[],"_seopress_pro_schemas":[],"_surecart_dashboard_logo_width":"180px","_surecart_dashboard_show_logo":true,"_surecart_dashboard_navigation_orders":true,"_surecart_dashboard_navigation_invoices":true,"_surecart_dashboard_navigation_subscriptions":true,"_surecart_dashboard_navigation_downloads":true,"_surecart_dashboard_navigation_billing":true,"_surecart_dashboard_navigation_account":true},"class_list":["post-1786","module","type-module","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/module\/1786","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/module"}],"about":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/types\/module"}],"wp:attachment":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/media?parent=1786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}