Title: Age Gator
Author: Chris Geelhoed
Published: <strong>2019 年 8 月 30 日</strong>
Last modified: 2020 年 1 月 18 日

---

搜尋外掛

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

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/age-gate-plus/assets/icon.svg?rev=2148131)

# Age Gator

 由 [Chris Geelhoed](https://profiles.wordpress.org/chrisgeelhoed/) 開發

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

 * [詳細資料](https://tw.wordpress.org/plugins/age-gate-plus/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/age-gate-plus/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/age-gate-plus/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/age-gate-plus/#developers)

 [技術支援](https://wordpress.org/support/plugin/age-gate-plus/)

## 外掛說明

[Age Gator](https://www.age-gator.com/) is a WordPress plugin specifically designed
to guard sensitive content (alcohol, gambling, x-rated, etc) from underage users.
Featuring an abundance of customizable settings, the display and behavior of the
overlay can be easily configured to suit a variety of use cases.

**Features**

 * Select from templates for Beer, Smoking, Vaping, Marijuana, or Adult or customize
   for your unique use case
 * Checks age of user before showing content
 * Edit appearance and text directly from the Customizer live preview screen
 * User prompt may be set to a yes/no button, age entry, date of birthday entry,
   or confirmation checkbox
 * Optional Retry button
 * Remember previously passed users
 * Set previously passed user bypass expiration time
 * Limit number of attempts
 * Ignore logged in users
 * Customized failure and success messages
 * Show age gate on all pages, all pages except those specified, or only on pages
   specified (Whitelist or Blacklist)
 * Wilcard support for setting whitelisted and blacklisted pages
 * Caching compatible

[Preview Features](https://www.age-gator.com/#feature-details)

## 螢幕擷圖

[⌊Admin Customizer Age Gate Example⌉⌊Admin Customizer Age Gate Example⌉[

Admin Customizer Age Gate Example

[⌊User Facing Age Gate Example⌉⌊User Facing Age Gate Example⌉[

User Facing Age Gate Example

## 安裝方式

 1. Upload the ‘age-gator’ folder to the ‘/wp-content/plugins/’ directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Click on “Edit in Customizer” and change your settings

## 常見問題集

  How can I get started?

After you install and activate the plugin, a new tab called “Age Gator” should appear
on the customizer screen (found in the appearance section). From here, you can select
the starter template that best matches your use case, and edit the other options
from there.

  I want to remember users that have already passed the age gate and allow them 
to skip the verification. How can I do that?

There is an option available under settings called “Remember User” that will do 
this. You can also enable the “Ignore Logged in Users” option.

  What happens when a user fails the age gate?

That depends on what settings are enabled. The default behavior is to simply show
a failure message (eg “Sorry, but you must be 21 years of age to visit this webpage”),
but the user can refresh the webpage and attempt the age gate again. If you’d like
to provide users with an easy way to retry, you can enable the “Show Retry Button”
setting. If you don’t want to allow users to retry the age gate at all, you can 
check the “Limit Attempts” option and set the “Max Attempts” value to 1.

  How can I set the age gate to display on only certain pages?

You can choose to have the age gate appear on all pages of your website or only 
on some pages. If you don’t want the age gate to appear on all pages, you can select
to use either a whitelist or a blacklist. First, select the “Pages” tab from the
Age Gator customizer area. A blacklist approach will show the age gate on all pages
except those specified, and a whitelist approach will only show the age gate on 
the pages specified. From here, add a relative url for each page that you want to
whitelist/blacklist. For example, if your website is “example.com”, and the page
you wanted to whitelist/blacklist was located at “example.com/spirits/”, then you
would enter “/spirits/”. Each item that appears on the whitelist/blacklist should
be put on a new line. [Preview](https://www.age-gator.com/#feature-enable/disable-specific-pages)

  I see a cancel button at the top of the age gate modal, but I don’t want my age
gate to be dismissible to users. What gives?

The cancel button is only displayed to logged in admin users – it doesn’t appear
to regular visitors.

  I’ve used the appearance Customizer to modify some of the details, but still can’t
quite get it to look the way I want. Can you help?

Yes, although the plugin features an extensive list of editable properties, your
age gate’s appearance will still depend on the base CSS of your WordPress theme.
If you need a pro to make it pixel perfect, please make a [support request](https://www.age-gator.com/#contact)

  Where can I preview Age Gator’s features?

The feature list can be explored at [https://www.age-gator.com](https://www.age-gator.com/)

## 使用者評論

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

### 󠀁[TOP](https://wordpress.org/support/topic/top-1684/)󠁿

 [duivelkewilly](https://profiles.wordpress.org/desmetjozef/) 2024 年 11 月 24 日

This plugin hasn’t been updated for 5 years, but it works better than the dozen 
or so I tested. Worth 10 stars

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

### 󠀁[Does a very good job, very simple](https://wordpress.org/support/topic/does-a-very-good-job-very-simple/)󠁿

 [lucascn](https://profiles.wordpress.org/lucascn/) 2022 年 5 月 26 日

Awesome plugin, easy to customise and full of options !

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

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-26577/)󠁿

 [srsarkis](https://profiles.wordpress.org/srsarkis/) 2020 年 6 月 13 日

Superbly done neat and easy to use exactly what I was looking for. Thank you

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

### 󠀁[Works like a charm](https://wordpress.org/support/topic/works-like-a-charm-1681/)󠁿

 [lbazso](https://profiles.wordpress.org/lbazso/) 2020 年 4 月 20 日

Really easy to use and highly customizable. Just what I was looking for. Thank you.

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

### 󠀁[I’ve used them all. it’s the best.](https://wordpress.org/support/topic/ive-used-them-all-its-the-best/)󠁿

 [nykes1233](https://profiles.wordpress.org/nykes1233/) 2020 年 1 月 18 日

best of all thanks age gator

 [ 閱讀全部 5 則使用者評論 ](https://wordpress.org/support/plugin/age-gate-plus/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Age Gator〉的開發相關工作。

參與者

 *   [ Chris Geelhoed ](https://profiles.wordpress.org/chrisgeelhoed/)

〈Age Gator〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/age-gate-plus/contributors)
為這個外掛做出的貢獻。

[將〈Age Gator〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/age-gate-plus)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/age-gate-plus/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/age-gate-plus/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/age-gate-plus/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/age-gate-plus/)。

## 變更記錄

#### 1.00

 * Initial release

#### 1.02

 * Adds starter templates

#### 1.03

 * Makes uninstall process cleaner

#### 1.04

 * Makes age gate dismissible to admin users

#### 1.05

 * Adds support for redirects on fail

#### 1.06

 * Fixes bug preventing site from scrolling after user passes age gate

## 中繼資料

 *  版本 **1.06**
 *  最後更新 **7 年前**
 *  啟用安裝數 **400+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.3.23**
 *  PHP 版本需求 ** 5.6 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/age-gate-plus/) 及 [Italian](https://it.wordpress.org/plugins/age-gate-plus/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/age-gate-plus)
 * 標籤:
 * [adults-only](https://tw.wordpress.org/plugins/tags/adults-only/)[age](https://tw.wordpress.org/plugins/tags/age/)
   [age verification](https://tw.wordpress.org/plugins/tags/age-verification/)[age verify](https://tw.wordpress.org/plugins/tags/age-verify/)
   [modal](https://tw.wordpress.org/plugins/tags/modal/)
 *  [進階檢視](https://tw.wordpress.org/plugins/age-gate-plus/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  5 個 5 星使用者評論     ](https://wordpress.org/support/plugin/age-gate-plus/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/age-gate-plus/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/age-gate-plus/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/age-gate-plus/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/age-gate-plus/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/age-gate-plus/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/age-gate-plus/reviews/)

## 參與者

 *   [ Chris Geelhoed ](https://profiles.wordpress.org/chrisgeelhoed/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/age-gate-plus/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.chrisgeelhoed.com/)