=== BundleWP Notification Bar ===
Contributors: bundlewpofficial
Donate link: https://bundlewp.com/
Tags: notification bar, announcement bar, hello bar, promo bar, top bar
Requires at least: 5.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Advanced announcement bar with CTA button, colors, scheduling, display rules, dismissible cookie memory and live preview.

== Description ==

BundleWP Notification Bar adds a fully customizable announcement bar to your WordPress site. Promote sales, share important updates, or drive visitors to any page with a call-to-action button.

**Features**

* Create UNLIMITED notification bars, each with its own enable/disable switch
* Custom bar text with basic HTML formatting (rich text editor)
* Call-to-action button with custom text, URL and new-tab option
* Color pickers for background, text, button background and button text
* Position top or bottom; sticky (fixed) or static in page flow
* Dismissible close button with cookie memory (configurable days, or session-only)
* Display rules: all pages, homepage only, or specific post types, plus per-ID exclusions
* Scheduling: automatic show/hide between start and end date/time (site timezone)
* Show after scrolling a set number of pixels, with slide, fade or no animation
* Mobile responsive with an option to hide the bar on small screens
* Live preview in the admin settings page — see changes before saving
* Clean object-oriented code, no external dependencies, translation-ready

= BundleWP Products =

The plugin includes a "BundleWP Products" page under its admin menu listing all BundleWP products with a SAVE70 coupon banner for 70% off at bundlewp.com. Explore the full range:

**[Auto Lead Pilot AI](https://bundlewp.com/product/auto-lead-pilot-ai/) - $699**
AI-powered lead generation, CRM and campaign automation - find business leads, enrich contacts and run outreach from one dashboard.

**[All In One Smart Extractor](https://bundlewp.com/product/all-in-one-smart-extractor/) - $20**
Extract business data (names, phones, emails, addresses) from Google Maps and websites into ready-to-use lists.

**[DataXtract Pro](https://bundlewp.com/product/dataxtract-pro/) - $30**
Web research and data extraction app - pull structured data from any website quickly and export it for your business.

**[Pro Fin Suite](https://bundlewp.com/product/pro-fin-suite/) - $45**
Complete finance and business productivity suite for Windows - invoicing, accounting tools and everyday business utilities in one package, one-time payment.

**[Billify](https://bundlewp.com/product/billify-smart-inventory-billing-and-pos-windows-software/) - $29**
Smart inventory, billing and POS software for small businesses - fast billing, stock tracking and reports.

**[WooFlow Manager](https://bundlewp.com/product/wooflow-manager-store-automation-toolkit-for-woocommerce/) - $29**
Store automation toolkit for WooCommerce - bulk-manage products, orders and routine store tasks in fewer clicks.

**[Fin Tools WordPress Theme](https://bundlewp.com/product/fin-tools-100-premium-web-tools-for-wordpress/) - $29**
WordPress theme for building a tools-directory website with 100+ premium web tools built in.

**[Site Commander MCP](https://bundlewp.com/product/site-commander-mcp-manage-wordpress-woocommerce-with-claude-ai/) - $29**
Manage your WordPress and WooCommerce store with Claude AI - connect your site and run it with AI commands.

Use coupon code **SAVE70** for 70% off every product at [bundlewp.com](https://bundlewp.com/).

== Installation ==

1. Upload the `bundlewp-notification-bar` folder to the `/wp-content/plugins/` directory, or install it via **Plugins > Add New > Upload Plugin**.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Go to **Notification Bar > All Bars** to configure the bar text, colors, position and rules.
4. Use the live preview on the right to check your design, then click **Save Changes**.

== Frequently Asked Questions ==

= How do I change the bar text and button? =

Go to **Notification Bar > All Bars**. Edit the "Bar text" with the rich text editor and set the "Button text" and "Button URL" fields.

= Can the bar be shown only for a limited time? =

Yes. Under **Scheduling**, set a start and/or end date and time. The bar appears and disappears automatically (times use your site's timezone under Settings > General).

= How does the dismiss button work? =

When "Dismissible" is enabled, visitors see a close (X) button. Clicking it hides the bar and stores a cookie for the number of days you configure ("Remember dismissal"). Set 0 to remember only for the browser session.

= Can I show the bar after the visitor scrolls? =

Yes. Set "Show after scroll (px)" to e.g. 300 and the bar will appear once the visitor scrolls past 300 pixels.

= Will it work with my theme? =

Yes. The bar is rendered in the footer and positioned with JavaScript, so it works with any theme, including those without `wp_body_open` support.

= Is the plugin translation-ready? =

Yes. The text domain is `bundlewp-notification-bar` and strings are wrapped for translation.

== Screenshots ==

1. Settings page with live preview.
2. Notification bar displayed at the top of a site.
3. Color and appearance options.
4. Display rules and scheduling options.

== Changelog ==

= 1.1.0 =
* NEW: Create unlimited notification bars. Manage them from "All Bars" — each bar has its own name, enable/disable switch, text, button, colors, position, scheduling and display rules. All enabled bars are shown on the site, stacked in order.
* Existing single-bar settings are migrated automatically into your first bar on update — nothing is lost.
* Fixed: BundleWP Products page now links to the correct product pages (all URLs verified).

= 1.0.0 =
* Initial release.
