Este plugin não foi testado com as 3 atualizações principais mais recentes do WordPress. Pode ser que não tenha mais manutenção ou suporte e talvez tenha problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Age Gator


Age Gator 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.


  • 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

Imagens de tela

  • Admin Customizer 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 “”, and the page you wanted to whitelist/blacklist was located at “”, then you would enter “/spirits/”. Each item that appears on the whitelist/blacklist should be put on a new line. Preview

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

Where can I preview Age Gator’s features?

The feature list can be explored at


13 de Junho, 2020
Superbly done neat and easy to use exactly what I was looking for. Thank you
20 de Abril, 2020
Really easy to use and highly customizable. Just what I was looking for. Thank you.
Leia todas as 4 avaliações

Contribuidores e desenvolvedores

“Age Gator” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.


“Age Gator” foi traduzido para 1 localidade. Obrigado aos tradutores por suas contribuições.

Traduzir “Age Gator” para o seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.

Registro de alterações


  • Initial release


  • Adds starter templates


  • Makes uninstall process cleaner


  • Makes age gate dismissible to admin users


  • Adds support for redirects on fail


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