Title: Sticky Banner
Author: Dave Meier
Published: <strong>19. Mart 2020.</strong>
Last modified: 24. Februar 2026.

---

Search plugins

![](https://ps.w.org/sticky-banner/assets/icon.svg?rev=2338103)

# Sticky Banner

 By [Dave Meier](https://profiles.wordpress.org/hiddendepth/)

[Download](https://downloads.wordpress.org/plugin/sticky-banner.1.5.0.zip)

 * [Details](https://me.wordpress.org/plugins/sticky-banner/#description)
 * [Reviews](https://me.wordpress.org/plugins/sticky-banner/#reviews)
 *  [Installation](https://me.wordpress.org/plugins/sticky-banner/#installation)
 * [Development](https://me.wordpress.org/plugins/sticky-banner/#developers)

 [Support](https://wordpress.org/support/plugin/sticky-banner/)

## Description

**Boost conversions and grab visitor attention with a customizable sticky banner!**

Sticky Banner is the easiest way to display important announcements, promotions,
or calls-to-action on your WordPress website. Whether you’re running a sale, announcing
an event, or collecting email signups, this lightweight plugin helps you get noticed
without slowing down your site.

#### Why Choose Sticky Banner?

 * **Lightning Fast** – Optimized code that won’t slow down your website
 * **Super Easy Setup** – Configure your banner in minutes, no coding required
 * **Live Preview** – See exactly how your banner looks before publishing
 * **Fully Customizable** – Match your brand with custom colors and messaging
 * **Mobile Responsive** – Looks perfect on all devices and screen sizes
 * **User-Friendly** – Visitors can dismiss the banner, and it won’t show again 
   for a set number of days
 * **Smart Display Controls** – Hide the banner on specific pages
 * **SEO Friendly** – Semantic HTML and accessibility features built-in
 * **Translation Ready** – Fully internationalized and ready for translation

#### Perfect For

 * Product launches and special offers
 * Holiday sales and promotions
 * Event announcements
 * Newsletter signups
 * Cookie notices and GDPR compliance
 * Important site-wide announcements
 * Limited-time deals
 * Lead generation campaigns

#### Key Features

 * **Easy enable/disable toggle** – Show or hide banner without losing your settings
 * Position banner at **top or bottom** of your site
 * **Custom colors** for background, text, and buttons
 * Add a **call-to-action button** with custom text and link
 * Set **cookie expiration** (control how long banner stays hidden after dismissal)
 * **Hide close button** for critical announcements that must be seen
 * **Exclude specific pages** by ID
 * Clean, modern design that works with any theme
 * Fully responsive and mobile-optimized
 * No jQuery conflicts
 * Clean uninstall (removes all data when deleted)

#### Built by Hidden Depth

Sticky Banner is built and maintained by [Hidden Depth](https://hiddendepth.ie/?utm_source=wp_plugin&utm_medium=website&utm_campaign=sticky_banner),
a web design and development studio. If you need help with your WordPress site or
have a project in mind, we’d love to hear from you.

## Screenshots

[⌊Admin settings page with live preview⌉⌊Admin settings page with live preview⌉[

Admin settings page with live preview

## Installation

#### Automatic Installation (Recommended)

 1. Log in to your WordPress dashboard
 2. Navigate to **Plugins > Add New**
 3. Search for **„Sticky Banner“**
 4. Click **„Install Now“** and then **„Activate“**
 5. Go to **Sticky Banner** in your admin sidebar
 6. Check the **„Show sticky banner on site“** box to enable the banner
 7. Configure your banner settings and click **„Save Changes“**

#### Manual Installation

 1. Download the plugin ZIP file from WordPress.org
 2. Log in to your WordPress dashboard
 3. Navigate to **Plugins > Add New > Upload Plugin**
 4. Choose the downloaded ZIP file and click **„Install Now“**
 5. Click **„Activate Plugin“**
 6. Go to **Sticky Banner** in your admin sidebar
 7. Check the **„Show sticky banner on site“** box and configure your settings

#### FTP Installation

 1. Download and extract the plugin ZIP file
 2. Upload the `hdsb-stickybanner` folder to your `/wp-content/plugins/` directory 
    via FTP
 3. Activate the plugin through the **Plugins** menu in WordPress
 4. Go to **Sticky Banner** in your admin sidebar
 5. Check the **„Show sticky banner on site“** box and configure your settings

## FAQ

### How do I create my first banner?

After activating the plugin, go to **Sticky Banner** in your WordPress admin sidebar.
Check the „Show sticky banner on site“ box to enable it, enter your announcement
text, choose your colors, add an optional call-to-action button, and click Save 
Changes. You’ll see a live preview as you configure!

### Can I change the position of the banner?

Yes! You can choose to display the banner at either the top or bottom of your website.
Simply select your preferred position in the plugin settings.

### How do I add a call-to-action button?

In the Sticky Banner settings, enter your button text in the „Button Text“ field
and add your destination URL in the „Button Link“ field. The button will automatically
appear on your banner.

### How do I temporarily hide the banner without deleting my settings?

Simply uncheck the „Show sticky banner on site“ box at the top of the settings page
and click Save Changes. This will hide the banner from your website while preserving
all your configuration (text, colors, button settings, etc.). Check the box again
whenever you want to show it.

### Can visitors close the banner?

Yes! The banner includes a close button (×) that visitors can click. Once closed,
the banner won’t show again for the number of days you specify in the „Cookie Expiry“
setting (default is 7 days).

### How do I hide the banner on specific pages?

You can exclude specific pages by entering their page IDs (separated by commas) 
in the „Hide on Pages“ field. To find a page ID, edit the page in WordPress and 
look for `post=` in the URL bar.

### Will this plugin slow down my website?

No! Sticky Banner is optimized for performance. It only loads minimal CSS and JavaScript,
and only on pages where the banner is displayed. Scripts are deferred and cached
properly.

### Is the banner mobile-responsive?

Absolutely! The banner is fully responsive and looks great on all devices, from 
desktop computers to mobile phones.

### Can I use HTML in my announcement text?

Yes, basic HTML is allowed in the announcement text field, so you can add formatting
like bold text, links, etc.

### Does the plugin work with my theme?

Yes! Sticky Banner is designed to work with any well-coded WordPress theme. The 
banner uses semantic HTML and doesn’t interfere with theme styles.

### Is the plugin translation-ready?

Yes! Sticky Banner is fully internationalized and ready for translation into any
language.

### How do I change the banner colors?

Use the color pickers in the plugin settings to customize both the background color
and text color. You’ll see a live preview of your changes.

### What happens to my data if I uninstall the plugin?

If you deactivate the plugin, your settings are preserved. If you delete the plugin
entirely, all settings are automatically removed from your database to keep it clean.

### Can I use this for cookie notices or GDPR compliance?

While you can use Sticky Banner to display cookie notices, please note that it doesn’t
include specific GDPR compliance features. For full GDPR compliance, consider using
a dedicated cookie consent plugin.

### Where can I get support?

For support questions, please use the WordPress.org support forums. For premium 
support and custom development, visit [Hidden Depth](https://hiddendepth.ie/?utm_source=wp_plugin&utm_medium=website&utm_campaign=sticky_banner).

## Reviews

![](https://secure.gravatar.com/avatar/5d03f79abeffdf3e64d698b03b84760864e6311e4415b09fe6562f902a8583e1?
s=60&d=retro&r=g)

### 󠀁[Loving this but Would love the option to disable the X](https://wordpress.org/support/topic/loving-this-but-would-love-the-option-to-disable-the-x/)󠁿

 [lighthousemike](https://profiles.wordpress.org/lighthousemike/) 26. Januar 2025.

This plugin looks amazing and works flawlessly. I would love an option to remove
the X that allows user to close the bar.

![](https://secure.gravatar.com/avatar/b63559edf60ef3a3af8a5613c2d2ae6f6bca86bb982e6d16cbf92defabd5f113?
s=60&d=retro&r=g)

### 󠀁[Simple and does the job](https://wordpress.org/support/topic/simple-and-does-the-job-28/)󠁿

 [belleisle](https://profiles.wordpress.org/belleisle/) 10. Maj 2020. 1 reply

Works as advertized. Would be great to have a cross to hide the bar, to add CSS 
to customize the font, the button shape, the text and button colors separately, 
and the bar height. Pretty cool already !

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/sticky-banner/reviews/)

## Contributors & Developers

“Sticky Banner” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ Dave Meier ](https://profiles.wordpress.org/hiddendepth/)

[Translate “Sticky Banner” into your language.](https://translate.wordpress.org/projects/wp-plugins/sticky-banner)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/sticky-banner/), check
out the [SVN repository](https://plugins.svn.wordpress.org/sticky-banner/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/sticky-banner/) 
by [RSS](https://plugins.trac.wordpress.org/log/sticky-banner/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.5.0 – 2026-02-24

 * NEW: Enable/disable toggle to show or hide banner without losing settings
 * NEW: Redesigned admin settings page with two-column layout and live preview
 * NEW: WordPress admin bar support – banner properly offsets when admin bar is 
   visible
 * NEW: Close button hover state with smooth transition
 * FIX: Close button not visible on sites with horizontal content overflow
 * FIX: Close button now vertically centered in banner regardless of content height
 * FIX: Replaced third-party js-cookie library with lightweight native cookie helper
 * FIX: Hardened close button and CTA button styles against theme/plugin CSS conflicts
 * FIX: Removed redundant HTML from close button markup
 * Cleaned up dead JavaScript files and unused code
 * WordPress 6.9.1 compatibility verified

#### 1.4.0 – 2025-11-11

 * NEW: Hide close button option for critical announcements
 * NEW: Modernized admin UI with iOS-style toggle and live preview
 * Integrated all improvements from versions 1.3.0 and 1.3.1
 * Fixed multiple XSS (Cross-Site Scripting) vulnerabilities
 * Added proper input sanitization for all user inputs
 * Added output escaping for all displayed content
 * Implemented CSRF protection with nonce verification
 * Added capability checks using ‘manage_options’
 * Prevented direct file access to all PHP files
 * Optimized script loading – only loads on pages where banner is displayed
 * Converted inline JavaScript/CSS for better caching
 * Full WordPress 6.7+ compatibility
 * Complete internationalization support (i18n)
 * Improved accessibility with ARIA labels
 * Added uninstall.php for clean plugin removal
 * PHP 7.4-8.4 compatibility verified

#### 1.3.1 – 2024-XX-XX

 * Edit: Align text and button on mobile/small screens
 * Improved responsive design for better mobile experience

#### 1.3.0 – 2024-XX-XX

 * Add: Enhanced security with sanitization callbacks
 * Add: Nonce field verification for form submissions
 * Add: Capability checks with manage_options
 * Edit: Modular JavaScript approach for better maintainability
 * Edit: Simplified file structure
 * Tested up to WordPress 6.5.2

#### 1.2.0 – 2024-XX-XX

 * Tested up to WordPress 6.5.2
 * Made button style more button-like
 * Resolved admin button hover text issue

#### 1.1.0 – 2020-02-15

The plugin has been coded from the ground up to be cleaner and make future updates
easier.

 * New setting: Cookie expiry days option added to settings
 * New setting: Hide on pages option added (add page IDs with commas)
 * New: Adds an active class to the body for styling (hdsb-t-active or hdsb-b-active)
 * New: Users can now close banner with X on right hand side (adds cookie for 7 
   days)
 * Update: Button will not show without a URL added to settings

#### 1.0.0 – 2020-01-10

 * Initial release

## Meta

 *  Version **1.5.0**
 *  Last updated **8 months ago**
 *  Active installations **800+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.9.10**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/sticky-banner/)
 * Tags
 * [announcement](https://me.wordpress.org/plugins/tags/announcement/)[banner](https://me.wordpress.org/plugins/tags/banner/)
   [cta](https://me.wordpress.org/plugins/tags/cta/)[notification bar](https://me.wordpress.org/plugins/tags/notification-bar/)
   [sticky bar](https://me.wordpress.org/plugins/tags/sticky-bar/)
 *  [Advanced View](https://me.wordpress.org/plugins/sticky-banner/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/sticky-banner/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/sticky-banner/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/sticky-banner/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/sticky-banner/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/sticky-banner/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/sticky-banner/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/sticky-banner/reviews/)

## Contributors

 *   [ Dave Meier ](https://profiles.wordpress.org/hiddendepth/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/sticky-banner/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=22P45UAZ84JQL&source=url)