How to Display an Announcement or Message in the Top Bar on a WordPress Website

How to Display an Announcement or Message in the Top Bar on a WordPress Website

Want to quickly notify your website visitors about important news, a sale, or technical maintenance? The easiest way is to add an informational message in the top bar of your website. It’s convenient, visible, and doesn’t interfere with browsing your content.

In this tutorial, we’ll show you how to create and customize such a message using the free DMC Discount Sale Promo Banner plugin — a simple yet powerful tool for WordPress and WooCommerce.

What Is DMC Discount Sale Promo Banner

DMC Discount Sale Promo Banner allows you to display:

  • notifications and announcements,
  • informational messages and updates,
  • promo banners and advertising offers,
  • customer messages in WooCommerce.

The banner can be placed in five different ways:

  • Top Bar — at the top of the site,
  • Bottom Bar — at the bottom of the site,
  • Widget — in a sidebar,
  • Shortcode — inside any page or post,
  • WooCommerce — on product, cart, checkout, or account pages.

All settings are managed through the WordPress interface — no coding required. The plugin interface is user-friendly and fully translated.

How to Install the Plugin

  1. Go to your WordPress admin panel.
  2. Navigate to Plugins → Add New.
  3. Search for DMC Discount Sale Promo Banner.
  4. Click Install, then Activate.
  5. After activation, go to Appearance → DMC Sale Banner.

Right after installation, a demo banner will appear at the top of your website — you can edit it to fit your needs.

How to Display an Information Message in the Top Bar

Step 1. Choose the Top Bar Module

Go to Appearance → DMC Sale Banner and open the Top Bar tab. This module controls messages displayed at the top of your site.

Step 2. Activate the Top Bar

Enable the switch “Enable Top Bar.” The banner will appear on your site, and you can start editing its content.

Step 3. Add Your Message Text

In the Banner Content section, enter the text you want visitors to see. For example:

Our website is undergoing technical maintenance. Temporary interruptions may occur.

You can use any type of informational message — notices about new sales, delivery updates, schedule changes, and more.

Step 4. Customize the Design

In the Design Settings section, you can choose:

  • a pre-made design template,
  • banner width and padding,
  • rounded corners,
  • horizontal or vertical orientation.

Select a design that fits the style of your website.

Step 5. (Optional) Add an Action Button

If you want to direct users to another page (for example, “Learn more” or “View sale”), add a button and specify the link. If you don’t need a button — simply disable it.

Step 6. Make the Banner Sticky When Scrolling

Activate the Sticky Banner option to keep the top bar visible while scrolling. This is useful for important notifications.

Example

A simple information message in the top bar can look like this:

Free shipping across the US on orders over $50!

Such a notice attracts attention and builds trust with your customers.

Useful Tips

  • Keep the message short and clear — 1–2 lines max.
  • Use a contrasting background so it’s visible but not distracting.
  • For seasonal messages, add emojis to make it more eye-catching.
  • Don’t overload the top bar — it should look clean and consistent.

Examples of Using and Filling the Banner

The DMC Discount Sale Promo Banner plugin is versatile — you can use it not only for sales but for any informational messages.

Here are some practical examples:

1. Sale Announcement

Big sale up to 50%! Hurry — ends this Sunday!

  • Button: “View Products”
  • Link: https://your-site.com/sale
  • Design: bright background (red or orange), white text

2. Information Message for Visitors

Our office will be closed on October 12–13. Orders will be processed on Monday.

  • Button: Disabled
  • Purpose: Inform customers about temporary schedule changes
  • Design: neutral background (gray or blue)

3. Free Shipping Notification

Free shipping on all orders over $100!

  • Button: “Learn More”
  • Link: https://your-site.com/delivery
  • Design: light background with an accent button

4. New Product Announcement

Introducing our new skincare set! Be among the first to try it.

  • Button: “Learn More”
  • Link: https://your-site.com/new
  • Design: brand colors, product image (if using widget or shortcode)

5. Business Hours Reminder

We’re open daily from 9:00 AM to 8:00 PM. Welcome!

  • Button: Disabled
  • Design: minimalist, calm background

You can use these templates as a base and adapt them to your brand style. For each example, simply change the text and colors directly in the plugin settings — no coding required.

Seasonal Banner Ideas

Seasonal and holiday banners are great for grabbing attention and boosting engagement. Here are some ideas you can easily create in the DMC Discount Sale Promo Banner plugin:

Christmas Sale

Holiday discounts up to 40%! Get your gifts before December 31!

  • Button: “Shop Now”
  • Design: blue-white or red-gold color palette
  • Tip: add a countdown timer until New Year’s Eve for a FOMO effect

Black Friday

Black Friday is here! Up to 70% off — only for 3 days!

  • Button: “View Offers”
  • Design: black background, contrasting yellow or white text
  • Tip: enable Sticky Banner so it always stays visible

International Women’s Day

Celebrate with us! Up to 25% off for March 8!

  • Button: “Choose a Gift”
  • Design: pink, violet, or pastel tones
  • Tip: add emojis to make the banner more friendly and emotional

Back to School

Back-to-school sale — up to 30% off on supplies and backpacks!

  • Button: “Shop Now”
  • Design: bright colors — blue, orange, or green
  • Tip: set a countdown timer before the school year starts to highlight urgency

Valentine’s Day

Gifts for your loved ones — 20% off everything until February 14!

  • Button: “Buy a Gift”
  • Design: red or pink background, hearts in design
  • Tip: use short emotional text and a strong CTA like “Don’t miss your chance!”

These banners not only decorate your website but also create a festive atmosphere, increasing conversions and engagement. With DMC Discount Sale Promo Banner, you can easily update banners for each season or holiday in just a few clicks.

Conclusion

Now you know how to easily display an informational message in the top bar of your WordPress site using the DMC Discount Sale Promo Banner plugin. Just a few clicks — and your website informs users about important updates without editing templates or writing code.

Try it now — install the plugin and add your first notification in minutes!

Useful Links