Extension · Elementor · King Addons

Age Gate: overlay that sets a confirmation cookie

Age Gate is a site overlay, not an Elementor widget. Free class Age_Gate swaps to Age_Gate_Pro when Freemius says you can use premium code.

Get King Addons

Install the plugin from WordPress.org, enable this extension in the dashboard, then follow the steps on this page.

Get King Addons

What it actually does

Cookie name: ka_age_gate_status. AJAX action for DOB: ka_age_gate_validate_dob with nonce king_addons_age_gate_nonce.

Settings include enabled, audience, mode, min_age, cookie_days, display scope, exclude_ids, cpt_scope, archives, WooCommerce apply_to/categories, template, overlay color/opacity, card background/width, title/subtitle, button labels and colors, animation, logo, background image, deny_action.

Markup prints in wp_footer; a portal container is added on wp_body_open. template_redirect can send denied visitors away.

Where to find it in WordPress

Enable Age Gate in the dashboard. Configure it on the Age Gate admin page. Options: king_addons_age_gate_options.

How to set it up

  1. Enable Age Gate. Dashboard plus the enabled toggle in Age Gate options.
  2. Set minimum age and mode. Yes/no vs date-of-birth (DOB uses AJAX).
  3. Choose scope. Whole site, exclude IDs, CPT scope, archives, WooCommerce products/categories.
  4. Design the card. Logo, overlay, typography, buttons, animation.
  5. Set deny behavior. What happens when the visitor is under age (redirect vs stay blocked).

Controls that change behavior

ControlWhat the plugin does
min_age / cookie_daysThreshold and how long the cookie lasts.
scope / exclude_ids / cpt_scopeWhich content is gated.
WooCommerce apply_toLimit the gate to catalog pieces.
deny_actionRedirect or keep the overlay after a no/under-age result.
Free vs Pro. Free overlay + settings. Age_Gate_Pro loads when premium code is allowed.

When this is the right tool

Notes from the implementation

A cookie can be deleted; this is not identity verification. kingaddons.com.

FAQ

Can visitors skip it by deleting cookies?

Yes. It is a cookie-based gate, not government ID.

Does it work on WooCommerce products?

Yes, via WooCommerce scope options — enable those if you only want the shop gated.

Other King Addons extensions

Get King Addons

Age Gate ships in King Addons for Elementor. Install the plugin from WordPress.org, then come back to this guide when you configure it.

Get King Addons