AAWEB Announcement Bar

Description

AAWEB Announcement Bar helps site owners add a clean top announcement bar without heavy page builders or marketing suites.

Features include:

  • Enable or disable the bar from Settings.
  • Plain text or safe HTML content.
  • Optional CTA link.
  • Custom colors, font size, font weight and container width.
  • Sticky mode.
  • Dismiss button with cookie-based hide period.
  • Start and end dates.
  • Desktop-only, mobile-only or all-device visibility.
  • Sitewide, homepage-only or WooCommerce checkout-safe display rules.
  • Manual page ID exclusions.
  • Preview shortcode.

The plugin is intentionally lightweight and does not connect to any external services.

Screenshots

Installation

  1. Upload the plugin folder to /wp-content/plugins/ or install the ZIP from Plugins > Add New.
  2. Activate the plugin.
  3. Go to Settings > AAWEB Announcement Bar.
  4. Configure your message and visibility rules.

FAQ

Does it work with WooCommerce?

Yes. It includes an option to hide the bar from cart, checkout and my account pages.

Does it work with Elementor?

Yes. The bar renders through wp_body_open, which is supported by modern themes. A footer fallback is included for older themes.

Can I add HTML?

Yes. Safe HTML is allowed and filtered through WordPress post HTML sanitization.

Can visitors close the bar?

Yes. Enable the dismiss option and choose after how many days the bar should appear again.

Is the plugin lightweight?

Yes. It only loads a small CSS and JavaScript file on the frontend.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“AAWEB Announcement Bar” is open source software. The following people have contributed to this plugin.

Contributors

“AAWEB Announcement Bar” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “AAWEB Announcement Bar” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.4.5

  • Restored all translatable source strings to English for correct WordPress.org localization.
  • Regenerated the translation template with the close-button settings strings.

1.4.3

  • Added full close-button styling controls.
  • Added close-button background, icon, hover and border colours.
  • Added close-button size, icon size, border width, border radius and right-spacing controls.
  • Added clear labels for all close-button settings.
  • Improved colour controls so HEX values can be typed or pasted reliably.
  • Improved live preview synchronization.
  • Fixed the bottom-border visibility option.
  • Fixed frontend close-button styling conflicts caused by themes.
  • Improved HTML content spacing in the preview.

1.4.2

  • Changed the default announcement bar state to disabled on new installations.

1.4.1

  • Show only the active content editor based on Plain text / Safe HTML mode.

1.1.0

  • Added full CTA button styling settings.
  • Added CTA hover colours, border, radius, padding, font, margins, position, device visibility and animations.
  • Improved frontend layout for text, CTA button and close button.

1.0.0

  • Initial release.