Easy Notification Bar

Easy Notification Bar Install Statistics

99
315.22%
Today: 145 Yesterday: 46 All-time: 95,080 downloads
Easy Notification Bar Icon

Try plugin: Easy Notification Bar

We'll create fresh WordPress site with Easy Notification Bar installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Easy Notification Bar

Easily add a custom top bar notification message to on your site with live customization options via the WordPress customizer.

10


1


1


1


0

updated: 9 months ago
since: 5 years ago
author: WPExplorer

Description

Easily add a custom top bar notification message to on your site with live customization options via the WordPress customizer. The plugin allows you to enter your notification bar text as well as an optional button to display next to your text. Perfect for notifying visitors of a current sale, hot product, warnings or other important messages.

The Easy Notification Bar plugin makes use of the newer “wp_body_open” action hook introduced in WordPress 5.2.0 which allows the plugin to work better with any theme that has been updated to support the tag. Contrary to other notice bar solutions which rely on absolute positioning, this plugin inserts the notice bar right after the body tag so it should display perfectly without any conflicts on any well-coded theme.

By default, the notification bar is “static” which means it displays at the top of your site so when you scroll down the page it will become “hidden”. This is generally better for usability and SEO. However, in version 1.4 we added a new sticky option which you can enable in the Customizer so that the notification bar remains visible as you scroll down the page. The sticky functionality makes use of the CSS sticky property (not javascript).

Although disabled by default, you can enable a close icon for your notice. When enabled, your visitors will see an “x” icon over the top bar which they can click to hide the message for their current and future sessions. This functionality makes use of localStorage (not cookies). You can also select to hide the notification bar when clicking the call to action button.

Features

  • Sitewide (or homepage only) top notification bar.
  • Easy setup via the WordPress customizer.
  • Optional close icon.
  • Optional sticky display.
  • Custom background, color, text alignment and font size settings.
  • Optional callout button.
  • Responsive design so it looks good on mobile.
  • Minimal code.
  • Vanilla Javascript used for close icon (jQuery not needed).