Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Sitewide Notice WP


Simply add a small message bar to the bottom of each page of your website to display notice messages such as sales, notices and any text messages.

A lightweight plugin that simply adds a small notification bar that allows you to insert simple text at the bottom of every page of your website as a call-to-action.


  • Lightweight code that does not slow down your website.
  • Choose color of font. (Includes transparency).
  • Choose color of background for the bar. (Includes transparency).
  • Add your own text to the message bar.
  • Users are able to close the bar by clicking on the ‘x’.
  • When a user closes the bar, automatically hide this notification bar for 24 hours.
  • Show/hide notice bar with a checkbox.
  • HTML code supported.
  • Hide sitewide message on mobile devices.
  • Hide sitewide message for logged in users.
  • Integrates with Paid Memberships Pro – show notification banner only to members.
  • Show notification bar either on top or on the bottom of the screen.

Captures d’écran

  • Sitewide Notice WP – front view of Sitewide Notice WP.
  • Sitewide Notice WP – Sitewide Notice WP settings page.


  1. Upload the plugin files to the /wp-content/plugins/sitewide-notice-wp directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Use the ‘Settings’ > ‘Sitewide Notice WP’ link on the dashboard screen to configure the plugin.
  4. Toggle ‘Plugin Enable/Disable’ to display the notice bar.


Is this plugin free?

Yes this plugin is totally free! You may donate to our development via Paypal which is found inside the Sitewide Notice page in the dashboard.

Am I able to add html code to the text of the message bar?

Yes, you are able to add basic html code to your banner.

Where is Sitewide Notice WP Settings?

Navigate to your WordPress dashboard > Settings > Sitewide Notice WP.

Am I able to add links and other code to the text message?

Yes, you are able to add basic HTML code to Sitewide Notice WP.

I need to add custom CSS to my banner

You may add custom CSS to your WordPress Customizer. This is done by navigating to « Appearance » -> « Customize » -> « Additional CSS ».

Should you have more questions

Please feel free to contact us for any further questions.


21 avril 2024 1 réponse
Styling options limited, external styling causes layout shift, no option to show ‘when’ as the instructions say, pubic view missing container and stuck at bottom. All told, a waste of time. And no support for free plugin means developer not available for his/her own system failures.
22 décembre 2023
Thanks for creating this plugin. It worked perfectly! My only suggestion is that it would be good to add a bit of padding around the text to give the text some more breathing room. Also, having an option to change the font size on the settings page, would be great. I did both the above through css, but having a font size option would be super helpful. Thanks again for creating a useful plugin 👍
20 juin 2022 2 réponses
Works OK, but if I exit the notice, it flashes up between everytime a page loads. If you want the notice there all the time, then I guess it’s OK. For me, it’s unusable.
17 juin 2022
Plugin is very light and easy to use. Would like to see show/hide toggle function in the future. Thanks
1 mai 2022
I recommend this plugin because it serves the purpose it’s made for; it’s lightweight, doesn’t seem to impact speed and performance compared to other plugins. The plugin is free but if the website benefits from this plugin, the developer deserves donation.
Lire les 16 avis

Contributeurs/contributrices & développeurs/développeuses

« Sitewide Notice WP » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.


Traduisez « Sitewide Notice WP » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.


2.4 – 2023-01-30

  • SECURITY: Improved general sanitization and escaping of the plugin where possible.
  • ENHANCEMENT: Moved the settings to « Settings » > « Sitewide Notice WP ».
  • BUG FIX/ENHANCEMENT: Updated library used for WP Color Alpha to support WordPress 5.5+ – Fixes some deprecation warnings.
  • BUG FIX/ENHANCEMENT: Improved logic for how the banner is shown when the user closed the notification.


  • Security: Fixed a potential XSS issue. Added wp_kses to banner message options.
  • Enhancement: Added in filter for frontend banner text swnza_banner_text.
  • Enhancement: Added in filter for allowed HTML in the banner message options swnza_message_kses.


  • Bug Fix: Support TwentyTwenty theme. Fixed an issue where loading the wp-alpha-color.js was causing issues.
  • Enhancement: Added option to hide close button.
  • Enhancement: Added filter swnza_show_banner as an override to show/hide the bar.
  • Enhancement: General styling improvements to the bar to fit things better.


  • Security: Added in nonces and escaped values when saving.
  • Enhancement: Improved UI of text of banner on front-end.


  • Enhancement: Changed close button icon. Uses SVG and supports retina-devices.
  • Enhancement: Option to show the notification bar on top or on the bottom of your site.
  • Bug Fix: Undefined index in some cases has now been fixed.

  • Bug fix with the color picker library.

  • Bug fix where WooCommerce checkout would hang.


  • ENHANCEMENT: Integrate with Paid Memberships Pro.


  • BUG FIX: text would appear before page load.
  • ENHANCEMENT: hide site wide notice message from logged in users option.


  • Fixed missing files bug.


  • UI interface cleanup.
  • ENHANCEMENT: Hide bar for 24 hours when user closes it.
  • Speed and Security improvement.


  • BUG FIX: Saved text message showing on wp-login fix.


  • ENHANCEMENT: Hide on mobile.


  • ENHANCEMENT: Custom CSS now supported.


  • ENHANCEMENT: HTML code now supported in the message.


  • ENHANCEMENT: All text is now translatable.


  • Standard version released.