# Promo Code Banner Above EDD Purchase Buttons

> Shows a small promotional banner with a discount code above every Easy Digital Downloads purchase button during a sale.

- Type: HTML
- Runs: Edd purchase link top
- Category: [Easy Digital Downloads](https://wpide.com/library/category/edd/)
- Requires: Easy Digital Downloads
- Tags: edd, discounts, promotion, banner
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/edd-discount-banner-above-button/

## Code

```html
<p class="wpide-edd-promo" style="margin:0 0 .75em;padding:.5em .75em;border-left:4px solid #d63638;background:#fcf0f1;font-size:.95em">
  <strong>Black Friday:</strong> use code <code>BF30</code> at checkout for 30% off.
</p>
```

## Notes

Create the code in Downloads > Discounts and deactivate this snippet when the sale ends.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Promo Code Banner Above EDD Purchase Buttons" in its snippet library and add it in one click; or create a new HTML snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
