Title: Age Gate Lite
Author: SiD
Published: <strong>2019 年 11 月 8 日</strong>
Last modified: 2026 年 5 月 20 日

---

搜索插件

![](https://ps.w.org/age-gate-lite/assets/banner-772x250.png?rev=2188138)

![](https://ps.w.org/age-gate-lite/assets/icon-256x256.png?rev=2188138)

# Age Gate Lite

 作者：[SiD](https://profiles.wordpress.org/siddhu09rocks/)

[下载](https://downloads.wordpress.org/plugin/age-gate-lite.zip)

 * [详情](https://cn.wordpress.org/plugins/age-gate-lite/#description)
 * [评价](https://cn.wordpress.org/plugins/age-gate-lite/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/age-gate-lite/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/age-gate-lite/#developers)

 [支持](https://wordpress.org/support/plugin/age-gate-lite/)

## 描述

If your content or products are about cannabis, alcohol, gambling or other adult
content.

Age Gate Lite makes it easier then ever to configure and style an age restriction
pop up to protect younger audience.

It is designed to be user friendly, simple lightweight and only requires users to
confirm their age ( Yes / No ).

This plugin is absolutely, 100% free.

Success message section included can be used for Email / Newsletter Opt-in or Promotional
messages.

**Devs 👨‍💻**

Avaliable JS Event Listeners – agl_passed & agl_failed.

    ```
    <script>
        document.addEventListener("agl_passed", function() {
            // Insert yor code for Age Gate Passed ;
        });

        document.addEventListener("agl_failed", function() {
            // Insert yor code for Age Gate Failed');
        });
    </script>
    ```

## 屏幕截图

 * [[
 * Front-end Display
 * [[
 * AGL Settings

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Configure the plugin

## 常见问题

### Where are AGL settings?

You can find Age Gate Lite menu item in Admin area

### AGL CSS look weird

We have kept everything lightweight. Your Parent theme is in-charge of how font 
and their sizes etc.. You can override with custom CSS.

## 评价

![](https://secure.gravatar.com/avatar/c088b36f5ae4e2d8dcc0630c0388869ee4755f7f117b2e7241d2fb94063d05bb?
s=60&d=retro&r=g)

### 󠀁[easy, exactly what it says](https://wordpress.org/support/topic/easy-exactly-what-it-says/)󠁿

 [Tabitha](https://profiles.wordpress.org/30women/) 2025 年 10 月 13 日

good plugin. simple and to the point. at first I was confused about how to customise
and activate so here’s how: Install it Activate it check for “age gate” somewhere
on your admin menu customize it for your website no coding needed, no shortcodes,
no widgets. It appears without you doing anything. Save your settings, test it and
there you go 🙂 Thanks for the plugin!

![](https://secure.gravatar.com/avatar/de13ccddccaa0243c75f577d787ee3c01a77031dc4a55f0a3e08922d1e7a3cd5?
s=60&d=retro&r=g)

### 󠀁[Cool](https://wordpress.org/support/topic/cool-1243/)󠁿

 [digitalmediaSLO](https://profiles.wordpress.org/digitalmediaslo/) 2023 年 2 月
3 日

Works fine! Just can’t find where can I translate the “continue to site” string

![](https://secure.gravatar.com/avatar/94e2905aea5ec8c66b7110064a522baa1cd336cf298b6c95e45bba9054241108?
s=60&d=retro&r=g)

### 󠀁[Age discrimination is a disgrace](https://wordpress.org/support/topic/age-discrimination-is-a-disgrace/)󠁿

 [Vina](https://profiles.wordpress.org/valinax/) 2022 年 12 月 2 日

Unacceptable.

![](https://secure.gravatar.com/avatar/76979d1b1533f4b6cc4ac444453881a60554069b8464505a16eab8ae020ccde0?
s=60&d=retro&r=g)

### 󠀁[Simple and perfect](https://wordpress.org/support/topic/simple-and-perfect-215/)󠁿

 [csakeva](https://profiles.wordpress.org/csakeva/) 2022 年 11 月 28 日

Thanks!

![](https://secure.gravatar.com/avatar/6bd5f5c10586f7a2c9ad6a41df349ec3ffd0073ff8dfdb6d914b588bbcde86c6?
s=60&d=retro&r=g)

### 󠀁[Brilliant](https://wordpress.org/support/topic/brilliant-1544/)󠁿

 [moorej](https://profiles.wordpress.org/moorej/) 2022 年 11 月 15 日

What a fantastic little age gate plugin. I use it for an online liquor shop. Easy
to set up, not a lot of configuration capabilities, but it does what it needs to.
Like the redirect if user ticks NO.

![](https://secure.gravatar.com/avatar/49fbaf0f05a8aaae306f9e68f64a51ea84fe28003c38aaa285acd7fc622fb74f?
s=60&d=retro&r=g)

### 󠀁[Exactly what I’m looking for](https://wordpress.org/support/topic/exactly-what-im-looking-for-16/)󠁿

 [roli974](https://profiles.wordpress.org/roli974/) 2020 年 5 月 27 日 1 回复

Perfectly what I’m looking for, but it would be even more perfect if we could translate
the (Yes/No)

 [ 阅读所有6条评价 ](https://wordpress.org/support/plugin/age-gate-lite/reviews/)

## 贡献者及开发者

「Age Gate Lite」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ SiD ](https://profiles.wordpress.org/siddhu09rocks/)

[帮助将「Age Gate Lite」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/age-gate-lite)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/age-gate-lite/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/age-gate-lite/)，或通过[RSS](https://plugins.trac.wordpress.org/log/age-gate-lite/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/age-gate-lite/)。

## 更新日志

#### 0.0.7

 * Fixed Plugin files loading hook

#### 0.0.6

 * Added Custom Event Listeners

#### 0.0.5

 * Added Custom Yes / No button labels support

#### 0.0.4

 * Fixed Main Title field issue

#### 0.0.3

 * Fixed Broken XML issues

#### 0.0.2

 * AMP Support

#### 0.0.1

 * Initial release

## 额外信息

 *  版本 **0.0.7**
 *  最后更新：**3 周前**
 *  活跃安装数量 **2,000+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 5.2.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/age-gate-lite/)
 * 标签
 * [adults-only](https://cn.wordpress.org/plugins/tags/adults-only/)[age gate](https://cn.wordpress.org/plugins/tags/age-gate/)
   [age verification](https://cn.wordpress.org/plugins/tags/age-verification/)[cannabis](https://cn.wordpress.org/plugins/tags/cannabis/)
   [popup](https://cn.wordpress.org/plugins/tags/popup/)
 *  [高级视图](https://cn.wordpress.org/plugins/age-gate-lite/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  6 条 5 星评价     ](https://wordpress.org/support/plugin/age-gate-lite/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/age-gate-lite/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/age-gate-lite/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/age-gate-lite/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/age-gate-lite/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/age-gate-lite/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/age-gate-lite/reviews/)

## 贡献者

 *   [ SiD ](https://profiles.wordpress.org/siddhu09rocks/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/age-gate-lite/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.me/siddhu09rocks)