=== Notification Bar, Announcement and Cookie Notice WordPress Plugin - FooBar ===
Contributors: bradvin, steveush, fooplugins
Tags: announcement,bar,notice bar,notification bar,top bar
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 5.6
Stable tag: 2.2.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Create unlimited notifications, announcements, or notices for your visitors

== Description ==

FooBar allows you to create unlimited eye-catching notification bars, announcements and cookie notices that catch your visitor's attention.
FooBar has been completely rewritten from the ground up to give you fresh and modern looking notifications.

[Visit the FooBar Homepage](https://fooplugins.com/foobar-wordpress-notification-bars/)

**Why Create A FooBar Notification?**

*	Communicate with your customers quickly and efficiently, by drawing their attention to your notification bars.
*	Generate leads and grow your customer base.
*	Use FOMO to drive product sales.
*	Convert visitors into paying customers.
*	Announce specials and important business news.
*	Elegantly inform visitors about cookies, and comply with the EU GDPR cookie law and CCPA regulations.

**Technical Features**

*   Create unlimited notifications
*   Choose from different types (Announcement, Call To Action, Cookie Notice)
*	Settings to customize your message / call to action buttons / notice
*   Appearance settings to help you match your theme
*	Visibility settings to customize how and when your announcement bars are shown
*	Easily duplicate notifications from listing page in admin
*   See previews within the admin, or on the frontend
*	SEO friendly
*   Supports Emojis 😀
*	Compatible with PHP 8.2

**Usage Examples**

*	Show a welcome notice to your visitors
*	Advertise a sale you are currently running, with a CTA button to your shop page
*	Show a cookie notice to your visitors and comply with EU GDPR cookie law and CCPA regulations
*	Updated your privacy policy? Inform your users with a notification bar
*	Create an announcement bar about your new product launch

There are 7 different notification types available:

*	Announcement - shows a simple announcement message with an optional link
*	Call To Action - shows a message with a call to action (CTA) button
*	Cookie Notice - shows a cookie notice with an accept button
*	Sign Up (PRO only) - capture emails and add them to a Mailchimp list
*	Countdown (PRO only) - show a countdown and call to action button to create a FOMO effect
*	Tweet (PRO only) - shows a message with a click to Tweet button
*	Free Shipping (PRO only) - shows a bar to your shoppers to entice them with free shipping if they buy more. Integrates with your WooCommerce store settings

**PRO Features**

*	4 extra bar types - Countdown, Free Shipping, Tweet and Sign Up, including Mailchimp integration.
*	Left & Right positions - up to 12 positions now available!
*	Full customization - set gradient backgrounds, change font size, choose different icons, and more!
*	Open / Close triggers - open or close based on exit intent, time delays, scroll distance and more!
*	Attention-grabbing Effects - Increase your conversions by grabbing the attention of visitors, to make them click on your buttons or open the bar.
*	Scheduling - Decide when your bar shows, by selecting a start and end date/time.
*	Visibility Conditions - Choose where your notifications will show with conditions of your choosing. Show for a specific post type, or on specific pages only, or for certain categories.
*	Custom CSS - add any custom CSS to the bar.
*	More coming soon!

**Announcement Bar Settings**

*	Announcement Text - The announcement message that will be shown to your visitors. It can also contain emoji's
*	Show Link - Do you want to show an anchor link next to the announcement?
*	Link Text
*	Link URL
*	Link Target

**Call To Action Bar Settings**

*	CTA Text - The call-to-action message that will be shown.
*	Button Text
*	Button URL
*	Button Target
*	CTA Button Position - You can override the position of the Call-To-Action button.

**Cookie Notice Bar Settings**

*	Cookie Notice Text - The cookie notice that will be shown to your visitors.
*	Accept Button Text - The accept button will close the bar if clicked.
*	Show Policy Link?
*	Button Target
*	CTA Button Position - You can override the position of the Call-To-Action button.

**General Settings**

Layout settings to set how the notification is displayed within your page:

*	Position - Where do you want the bar to show on the page?
*	Push Content - Whether or not the bar pushes the page to avoid hiding content
*	Initial State - Is the bar opened or collapsed when the page loads?
*	Remember State - Remember the state of the bar across page refreshes. If a visitor closes the bar, when they refresh the page again, it will stay closed.
*	Expire State - Set a duration in days, before the state expires. If a visitor had previously closed a bar, when they refresh the page again, it will once again be opened.

Toggle Button settings. The toggle is the small button on the side of the notification with an icon, that collapses or dismisses the notification. To disable the toggle button, select a Toggle Shape of "None".

*	Toggle Shape - The toggle is the small button on the side of the bar with an icon. What do you want the toggle button shape to look like?
*	Toggle Action - What happens when the toggle button is clicked?
*	Toggle Position - You can override the position of the toggle button.

**Appearance Settings**

*	Color Scheme - Choose from one of the pre-defined color schemes available for your bar.
*	Transition - What transition should the bar use when opening or closing?

**Visibility Settings**

*	Show When - On which pages do you want to show the bar?

== Installation ==

1. Upload the zip file to the `/wp-content/plugins/` folder and then unzip.
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Done! Enjoy

== Screenshots ==

1. Frontend Demo - Call To Action
2. Frontend Demo - Message
3. Frontend Demo - Cookie Notice
4. Admin - Edit Notification - Content
5. Admin - Edit Notification - Appearance
6. Admin - Edit Notification - Visibility
7. Admin - Notifications - Preview

== Upgrade Notice ==

Update now to get all the latest features, bug fixes and improvements!

== Frequently Asked Questions ==

= How many notifications can I create? =

Unlimited! There is no limit

= My bar is NOT showing on my website! Why? =

There are 2 ways to show your message bar:

You can show the bar on all pages, by setting the display rules to "Always Show", when editing the notification.
Or you can insert the shortcode for a bar on a specific page or post

= I have set the correct settings, and my bar is still NOT showing up!! Why? =

There could be a conflict with your theme or another plugin.
Open a support ticket with a link to your site and we can take a look.

= My announcement bar does not look right. Why? =

There could be a conflict with your theme or another plugin's stylesheet.
Open a support ticket with a link to your site and we can take a look.

= Can I show An announcement at the bottom of the screen? =

Yes. When editing a notification, click on the Visibility settings tab, and then set the Position to "Bottom"

= I need more features. How can I request features? =

Create a [new ticket](https://wordpress.org/support/plugin/foobar-notifications-lite/#new-post) on the support forum, or [contact us](https://fooplugins.com/support/?utm_source=foobar_wordpress_org)

== Changelog ==

= 2.2.1 =
* Updated 17 Feb 2026
* Added : Added a new setting for Toggle Button Size, to change the size of the toggle button.
* Added : Added a new setting for Toggle Button Full Height, to choose if the toggle button should take up the full height of the bar.
* Added : Added a new setting for Toggle Button Balanced, to balance out the spacing to match the spacing of the toggle button.
* Added : Added a new setting for Max Content Width, to limit the width of the bar contents.
* Update : Updated the default toggle button settings for new bars (circle shape, small size, not full height, balanced spacing)
* Update : Freemius SDK to 2.13.0
* Fix : fixed multiple minor styling issues in admin when managing bars.

= 2.1.37 =
* Updated 18 July 2025
* Fix : fixed issue with creating a new notification. (PRO only)

= 2.1.36 =
* Updated 17 July 2025
* Update : Freemius SDK to 2.12.1
* Fix : fixed issue with early translations causing PHP warnings.
* New : showcase PRO bar types when creating a new notification.

= 2.1.35 =
* Updated 27 Jan 2025
* Update : Freemius SDK to 2.11.0

= 2.1.34 =
* Updated 10 Nov 2024
* Update : Freemius SDK to 2.9.0

= 2.1.33 =
* Updated 16 Dec 2023
* Fix : Fixed button rendering issue
* Update : Freemius SDK to 2.6.1

= 2.1.32 =
* Updated 5 July 2023
* Update : Freemius SDK to 2.5.10
* Fix : fixed PHP warning in admin when using PHP v8+

= 2.1.30 =
* Updated 10 April 2023
* Update : Freemius SDK to 2.5.6

= 2.1.29 =
* Updated : 14 Mar 2023
* New : Added ability to duplicate notification from listing page in admin.
* Update : Freemius SDK 2.5.4.2
* Fix : Downgraded PHP compatability to work with PHP 5.6 again

= 2.1.28 =
* Updated : 1 Mar 2023
* Update : Freemius SDK 2.5.3

= 2.1.27 =
* Updated : 16 Feb 2023
* New: added in a global option to include polyfills previously used by the plugin JS for better backwards compatibility. These polyfills are no longer included in the primary JS file as usage of browsers which require them has fallen below 1% globally.

= 2.1.26 =
* Updated : 10 Jan 2023
* Fix: changed how the state duration is calculated to allow for easier testing and customization

= 2.1.25 =
* Updated : 10 Jan 2023
* New : added the ability to set an expiring state
* Update : changed the MediaQueryList event bindings to support the newer EventTarget syntax

= 2.1.24 =
* Updated : 3 Oct 2022
* New : added a new bar that integrates with WooCommerce free shipping
* New : added WooCommerce visibility conditions to show your bars on WooCommerce pages
* Update : changed the way to select which type of notification to create

= 2.1.23 =
* Updated : 7 Sep 2022
* Fix : resolved issue with timezones and scheduling.

= 2.1.22 =
* Updated : 9 Aug 2022
* Update : Freemius SDK 2.4.5

= 2.1.21 =
* Updated : 1 Aug 2022
* Update : Freemius SDK 2.4.4

= 2.1.20 =
* Updated : 26 Jul 2022
* Fix : resolved admin issue when editing a Sign up bar, its Success Message it was not being correctly set on the first change

= 2.1.19 =
* Updated : 19 Jul 2022
* Fix : resolved issue with !@ being left in the tweet buttons text

= 2.1.18 =
* Updated : 19 Jul 2022
* Update : resolved jQuery migration warnings
* Update : the click to tweet bar now supports @mentions - if a word starting with @ is being converted, and you don't want it to be, simply use !@ instead

= 2.1.17 =
* Updated : 9 Jun 2022
* Fix : resolved some missing images in the help page

= 2.1.16 =
* Updated : 3 Jun 2022
* New : added a new bar allowing visitors to easily tweet pre-defined messages

= 2.1.15 =
* Updated : 3 March 2022
* Update : Freemius SDK 2.4.3
* Fix : security fix in wp-admin

= 2.1.14 =
* Updated : 27 Oct 2021
* update : renamed some settings and fixed spellings
* update : updated help page to include new logo and pro feature

= 2.1.13 =
* Updated : 9 Aug 2021
* Fix : fixed load_plugin_textdomain path causing warnings in error logs

= 2.1.12 =
* Updated : 11 May 2021
* Update : Freemius SDK 2.4.2
* Fix : fixed bug where trashed or deleted notifications were still showing

= 2.1.11 =
* Updated : 14 Jan 2021
* Fix : fixed issue where collapsed bars that used faded transition were still overlapping page content

= 2.1.10 =
* Updated : 7 Jan 2021
* New : Updated PRO feature listing on help page to include scheduling and effects

= 2.1.9 =
* Updated : 30 Dec 2020
* New : Realtime live previews when editing notifications in admin!
* New : Added Advanced settings tab which has a custom settings field to alter the bar
* New : Added new setting to force the FooBox trial notice admin banner to never show

= 2.1.6 =
* Updated : 19 Nov 2020
* New : support for multiple bars stacking if shown on one page
* New : PRO version now available
* Fix : fixed multiple bugs found
* Update : changed settings
* Update : update to Freemius SDK 2.4.1

= 2.0.8 =
* Updated : 5 Oct 2020
* New : support for inline notification bars, which can only be included with the shortcode
* Fix for multiline text content in bars

= 2.0.7 =
* Updated : 1 Oct 2020
* Fix for margin issues in IE11

= 2.0.6 =
* Updated : 29 Sep 2020
* Added support for remembering bar state (Edit bar -> Visibility -> Remember State)
* Minor tweaks to edit settings UI

= 2.0.5 =
* Updated : 26 Sep 2020
* Fixed rendering bug in IOS
* Updated styling on mobile

= 2.0.4 =
* Updated : 21 Sep 2020
* Added support for Emoji text on databases not converted to utf8mb4
* Renamed bar type "Message" to "Announcement"

= 2.0.3 =
* Complete rewrite of the plugin!!!
* Fresh new modern look
* Unlimited notifications
* Over 20 settings to customize

= 1.1 =
* Fixed bugs with settings page
* Moved dynamic JS and CSS to inline

= 1.0 =
* Initial Release. First version.
