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.
- Upload the plugin files to the
/wp-content/plugins/sitewide-notice-wpdirectory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress.
- Use the ‘Settings’ > ‘Sitewide Notice WP’ link on the dashboard screen to configure the plugin.
- 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.
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.
Contributors and Developers
“Sitewide Notice WP” is open source software. The following people have contributed to this plugin.Contributors
Translate “Sitewide Notice WP” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by 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
- Enhancement: Added in filter for allowed HTML in the banner message options
- 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_banneras 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.