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

Configure it

  1. Switch it on in Moduly → Installed Widgets.
  2. Click Manage on it — this opens Appearance → Customize with the Cookie Notice settings, next to a live preview.
  3. Change the settings; the preview updates as you go.
  4. Click Publish to make it live.

Settings

General

SettingWhat you can set
Show the cookie noticeOff: nothing is printed on your pages.

Message and buttons

SettingWhat you can set
HeadingLeave empty for no heading.
MessageLinks, bold and italics are allowed.
Privacy policy page—
Privacy link textText
Accept buttonText
Decline buttonRecommended: in the EU and UK, declining must be as easy as accepting.
Decline button textText
A close (×) buttonClosing counts as declining.

Layout and position

SettingWhat you can set
LayoutFull-width bar or Floating card
Bar positionBottom or Top
Card cornerBottom left, Bottom centre or Bottom right
Card width280–640
Distance from the edge0–80
ButtonsStart, End or Full width
Text size12–20
Appears withSlide, Fade or Nothing

Colours and shape

SettingWhat you can set
BackgroundColour
TextColour
LinksColour
Accept buttonColour
Accept button textColour
Decline button styleOutline, Same as accept or Text only
Corner radius0–32
Button corner radius0–32
Shadow—
SettingWhat you can set
Remember the choice for1–395 · Regulators advise asking again within 13 months.
Show after0–5000
Reload the page after acceptingSo scripts that waited for consent run straight away.
A small “Cookie settings” button afterwardsLets visitors change their mind, as the GDPR requires. The shortcode [mdly_cookie_settings] adds a link instead.
Its labelText
Its cornerBottom left or Bottom right

Where it shows

SettingWhat 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.