Title: Age Verify
Author: Chase Wiseman
Published: <strong>2012 年 11 月 14 日</strong>
Last modified: 2016 年 1 月 17 日

---

搜索插件

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

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/age-verify_ac6a50.svg)

# Age Verify

 作者：[Chase Wiseman](https://profiles.wordpress.org/chasewiseman/)

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

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

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

## 描述

Whatever your reasons, you may need your site’s visitors to confirm their age before
viewing the content of your site. Age Verify does just that. It’s a simple plugin
that lets you specify a minimum age and add an age-gate between a potential visitor
and your content, just to be safe. Enjoy!

## 屏幕截图

[⌊The settings screen.⌉⌊The settings screen.⌉[

The settings screen.

[⌊This is what your visitors see, using the default styling.⌉⌊This is what your 
visitors see, using the default styling.⌉[

This is what your visitors see, using the default styling.

## 安装

 1. Upload the ‘age-verify’ folder to the ‘/wp-content/plugins/’ directory
 2. 通过WordPress的的“Plugins”菜单激活插件
 3. Visit ‘Settings > Age Verify’ and adjust your configuration.

## 常见问题

  Installation Instructions

 1. Upload the ‘age-verify’ folder to the ‘/wp-content/plugins/’ directory
 2. 通过WordPress的的“Plugins”菜单激活插件
 3. Visit ‘Settings > Age Verify’ and adjust your configuration.

## 评价

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

### 󠀁[Good if you don’t need to cache](https://wordpress.org/support/topic/good-if-you-dont-need-to-cache/)󠁿

 [dragonword](https://profiles.wordpress.org/dragonword/) 2019 年 6 月 23 日

Had to stop using it once my site got more busy since PHP based age gate isn’t compatible
with cache plugins. But if you’re not planning to cache, this works fine

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

### 󠀁[Would be better with Javascript](https://wordpress.org/support/topic/would-be-better-with-javascript-2/)󠁿

 [Clicknathan](https://profiles.wordpress.org/clicknathan/) 2017 年 6 月 26 日

Like my review on another similar plugin, because this plugin uses PHP to check 
cookies, it doesn’t work with cached pages…such as with the W3 Total Cache plugin
or WP Engine.

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

### 󠀁[Works…kinda, but no support at all](https://wordpress.org/support/topic/works-kinda-but-no-support-at-all/)󠁿

 [RPackerII](https://profiles.wordpress.org/rpackerii/) 2017 年 3 月 15 日

My customers see it on every visit to the page even if within the time frame the
plugin is set for. Support board is never answered by anyone even though there are
active topics. Plugin looks to be abandoned as it hasn’t been checked for latest
compatibility.

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

### 󠀁[Best of the Free Age Verify plugins](https://wordpress.org/support/topic/best-of-the-free-age-verify-plugins/)󠁿

 [beruud](https://profiles.wordpress.org/beruud/) 2017 年 1 月 30 日

Works very well. Had issues in Internet Explorer, but figured them out. Does have
some weird dashes it adds to the separation of the drop downs… and it kicks out 
an odd query field for a home page landing URL… which might not be good with SEO
or Google. Doing research.

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

### 󠀁[Almost perfect](https://wordpress.org/support/topic/almost-perfect-255/)󠁿

 [koolmind](https://profiles.wordpress.org/koolmind/) 2016 年 9 月 3 日

The only thing that’s missing for me is a couple of templates to make the form look
better.

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

### 󠀁[THANK YOU!](https://wordpress.org/support/topic/thank-you-1028/)󠁿

 [blackhoof](https://profiles.wordpress.org/blackhoof/) 2016 年 9 月 3 日

I am so happy to have found this plug-in. It works on my hosted WordPress site and
does everything I need it to do. I found that it reflects our page’s style and works
on mobile.

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

## 贡献者及开发者

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

贡献者

 *   [ Chase Wiseman ](https://profiles.wordpress.org/chasewiseman/)

「Age Verify」插件已被翻译至 7 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/age-verify/contributors)
为本插件所做的贡献。

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

### 对开发感兴趣吗?

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

## 更新日志

#### 0.3.0

 * New: French and Italian translations
 * Tweak: Use strings for the textdomain and change to ‘age-verify’

#### 0.2.10

 * Fix: cookie duration now uses the corresponding setting

#### 0.2.9

 * Fix: Prevent add/remove_query_arg XSS vulnerability

#### 0.2.8

 * Fixes a bug that failed to load translations properly. Props to @Nukleo!
 * Added the French translation. Props to @Nukleo!

#### 0.2.7

 * Fixes a bug that displayed the minimum age incorrectly in some cases
 * Fixes some PHP warnings on activation

#### 0.2.6

 * Major code refactor
 * Add W3 Total Cache compatibility
 * Add WordPress 4.0 compatibility
 * Documentation cleanup

#### 0.2.5

 * Added WordPress 3.8 compatibility
 * Fixed a bit of text domain loading
 * Added additional actions for further extensibility
 * Adjusted some default modal styling

#### 0.2.4

 * Fixed a double slash when enqueueing the stylesheet
 * Added some missing text domains
 * Fixed a PHP warning

#### 0.2.3

 * Added Remember Me checkbox to all input types
 * Escaped all strings for proper security

#### 0.2.2

 * Fixed the loading of language files

#### 0.2.1

 * Cleaned up folders filenames

#### 0.2

 * Added ability to age-restrict only specific content
 * Security enhancements (nonces!)
 * Squashed some PHP warnings

#### 0.1.5

 * Fixed support for PHP 5.2 and greater

#### 0.1

 * Just getting started…

## 额外信息

 *  版本 **0.3.0**
 *  最后更新：**9 年前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 3.2 或更高版本 **
 *  已测试的最高版本为 **4.4.34**
 *  语言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/age-verify/) 、 [Dutch](https://nl.wordpress.org/plugins/age-verify/)、
   [English (US)](https://wordpress.org/plugins/age-verify/) 、 [French (France)](https://fr.wordpress.org/plugins/age-verify/)、
   [Italian](https://it.wordpress.org/plugins/age-verify/) 、 [Portuguese (Brazil)](https://br.wordpress.org/plugins/age-verify/)、
   [Russian](https://ru.wordpress.org/plugins/age-verify/) 和 [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/age-verify/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/age-verify)
 * 标签
 * [age](https://cn.wordpress.org/plugins/tags/age/)[restrict](https://cn.wordpress.org/plugins/tags/restrict/)
   [verify](https://cn.wordpress.org/plugins/tags/verify/)
 *  [高级视图](https://cn.wordpress.org/plugins/age-verify/advanced/)

## 评级

 4.4 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Chase Wiseman ](https://profiles.wordpress.org/chasewiseman/)

## 支持

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

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