Easy Notification Bar
By wpexplorer
Description
This plugin allows you to easily add a custom top bar notification message to your site with live customization options via the WordPress customizer. You can enter your notification bar text and an optional button to display next to your text. It is perfect for notifying visitors of current sales, hot products, warnings, or other important messages.
The Easy Notification Bar plugin uses the newer 'wp_body_open' action hook introduced in WordPress 5.2.0, which allows it to work better with any theme that supports this tag. Unlike other notice bar solutions that rely on absolute positioning, this plugin inserts the notice bar right after the body tag, ensuring it displays perfectly without conflicts on well-coded themes.
By default, the notification bar is static, meaning it displays at the top of your site and becomes hidden when you scroll down the page. This is generally better for usability and SEO. However, in version 1.4, a new sticky option was added that allows the notification bar to remain visible as you scroll down. This functionality uses the CSS sticky property.
You can also enable a close icon for your notice, allowing visitors to hide the message for their current and future sessions. This uses localStorage instead of cookies. Additionally, you can choose to hide the notification bar when the call to action button is clicked.
Features include sitewide or homepage-only top notification bars, easy setup via the WordPress customizer, optional close icon, optional sticky display, custom background and text settings, responsive design, and minimal code using vanilla JavaScript.
Other Notable Features
Here are a few other notable features of this free Easy Notification Bar plugin.
Screenshots
FAQ
This plugin makes use of the WordPress core “wp_body_open” action hook which should be added to every theme header.php file and was introduced in WordPress 5.2.0. You will need to properly add this action hook to your header.php file and or contact the theme developer so that your theme is updated accordingly.
Feel free to ask in the support forum if you need help updating your header.php file. If you are using a free theme on WordPress.org please link to the theme in question. If you are using a premium theme, contact the developers for support since you paid for it.
Contributors and developers
“Easy Notification Bar” is open source software. The following people have contributed to this plugin.
WPS
6.61
Average
Ratings
4.6 out of 5 | 16Version
1.7Last updated
1 month agoActive installations
9,000+WordPress version
6.9.4 or higherPHP version
7.4 or higherLanguages
2Tags
Banner,Notice,Notification,Notification Bar,Top BarOther plugins you might like
All-in-One WP Migration and Backup
By ServMask
WPS
7.72
Very Good
7.6k+reviews
active installation
Tested with
7.0Hostinger Tools
By Hostinger
WPS
7.52
Very Good
36+reviews
active installation
Tested with
6.9.4Duplicate Page
By mndpsingh287
WPS
7.63
Very Good
454+reviews
active installation
Tested with
6.9.4UpdraftPlus: WP Backup & Migration Plugin
By David Anderson / Team Updraft
WPS
7.71
Very Good
8.5k+reviews
active installation
Tested with
7.0Classic Widgets
By Tonya Mork
WPS
7.48
Very Good
269+reviews
active installation
Tested with
6.9.4Redirection
By John Godley
WPS
7.57
Very Good
698+reviews
active installation
Tested with
6.9.4