Cookie Notice
Ask visitors for cookie consent before tracking scripts run.
A cookie consent bar or floating card with accept and decline, a privacy link, a reopen button and scripts that wait for consent — designed live in the Customizer, with no third-party service.
Extension
Requirements
- WordPress 6.5 or newer
- PHP 7.4 or newer
- Licence: Pro ($2 / year) — add it to the cart in Moduly
- Switch it on in Moduly → Installed Widgets.
- Click Manage on it — this opens Appearance → Customize with the Cookie Notice settings, next to a live preview.
- Change the settings; the preview updates as you go.
- Click Publish to make it live.
Settings
General
| Setting | What you can set |
|---|
| Show the cookie notice | Off: nothing is printed on your pages. |
| Setting | What you can set |
|---|
| Heading | Leave empty for no heading. |
| Message | Links, bold and italics are allowed. |
| Privacy policy page | — |
| Privacy link text | Text |
| Accept button | Text |
| Decline button | Recommended: in the EU and UK, declining must be as easy as accepting. |
| Decline button text | Text |
| A close (×) button | Closing counts as declining. |
Layout and position
| Setting | What you can set |
|---|
| Layout | Full-width bar or Floating card |
| Bar position | Bottom or Top |
| Card corner | Bottom left, Bottom centre or Bottom right |
| Card width | 280–640 |
| Distance from the edge | 0–80 |
| Buttons | Start, End or Full width |
| Text size | 12–20 |
| Appears with | Slide, Fade or Nothing |
Colours and shape
| Setting | What you can set |
|---|
| Background | Colour |
| Text | Colour |
| Links | Colour |
| Accept button | Colour |
| Accept button text | Colour |
| Decline button style | Outline, Same as accept or Text only |
| Corner radius | 0–32 |
| Button corner radius | 0–32 |
| Shadow | — |
Consent and timing
| Setting | What you can set |
|---|
| Remember the choice for | 1–395 · Regulators advise asking again within 13 months. |
| Show after | 0–5000 |
| Reload the page after accepting | So scripts that waited for consent run straight away. |
| A small “Cookie settings” button afterwards | Lets visitors change their mind, as the GDPR requires. The shortcode [mdly_cookie_settings] adds a link instead. |
| Its label | Text |
| Its corner | Bottom left or Bottom right |
Where it shows
| Setting | What you can set |
|---|
| Only on these pages (IDs) | Empty: the whole site. Useful to try a design on one page first. |
| Hide for logged-in users | — |
Tips
- Start with the Layout choice — it changes the overall look the most; fine-tune the rest afterwards.
- Visitors who ask their device for reduced motion get a calmer, still version automatically.
Troubleshooting
- This is a consent notice, not a full consent manager: it has one choice (all optional cookies or none), not per-category toggles (analytics, marketing). Scripts must be marked by hand.
- Without JavaScript nothing is shown, so no choice can be recorded.
- The privacy link hides itself when no published privacy page is chosen (this site has none).
- A change not showing on the live site is almost always a page cache — clear your caching plugin or host cache.
- Works well with: Login Page Designer, Maintenance Mode.