Easy Age Verifier

Description

A quick overview:

Easy Age Verifier makes it easy for taprooms and bars to confirm their website visitors are of legal age. The plugin was designed to work out of the box, but can be easily customized in the settings page, as well as a series of hooks and filters.

Features

  • Ask users to verify their age on page load. If the user is less than the age you specify (default is 21), then they will be removed from the website
  • Easy customization directly in the WordPress Customizer
  • SEO Friendly (Google can still crawl the website, even with the verifier installed)
  • Ask users to verify that they’re above age by clicking a button, instead of forcing the user to enter their age.
  • Customize all items on the form, including the question asked, the message stated when they’re underage, and the class each form item has.
  • Remembers if a visitor has verified their age in the past, and won’t ask again until they close their web browser.

Screenshots

  • Form pops up to confirm age on page load
  • Popup details why the user cannot access the website after the form is filled-in
  • Customize all aspects of the form easily

Installation

  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. (Optional) Configure the form, including minimum age, and all messaging for the form on settings>>>Easy Age Verifier

FAQ

My Form Isn’t Showing Up!

The form will not display if you are logged in, or if you have confirmed your age in the last 24 hours. This option can be configured in the settings, but you can also force the form to display by opening your website in incognito mode (Chrome) or in a new private window (Firefox). That will get around it.

I’m in incognito mode and my form is still not showing up!

There is a small bug in the code that causes the default age of 21 to appear to be set even though it’s actually not. Before you go any further, go into the customizer, set the age to 21 (override it if it already says 21) and then hit “save & publish”.

This generally is caused by one of these things:

  1. Your theme’s CSS has somehow prevented the verifier from displaying properly.
  2. You’re logged in
  3. You verified your age in your current session
  4. Some kind of custom verifier logic is interfering with the verifier
  5. Something prevented the javascript from loading properly

To troubleshoot, follow these steps:

  1. Close all incognito windows, and open a new incognito window. This will force any active cookies to clear and might fix the issue right away.
  2. If the page loads, and you still see no verifier, right-click on your webpage and click “inspect”. If you see <div id="taseav-age-verify" class="taseav-age-verify"> just below the <body> tag, then the verifier has loaded properly. If you don’t see this, then something stopped the verifier from loading.
  3. If you see <div id="taseav-age-verify" class="taseav-age-verify">, Take a look at the styles that are applying to the verificaiton form. It’s possible something is overriding the CSS in a detrimental way.
  4. If you see <div id="taseav-age-verify" class="taseav-age-verify">, Check the javascript console for any errors. It’s possible that something went wrong with the script.
  5. If you don’t see <div id="taseav-age-verify" class="taseav-age-verify">, Make sure you’re not logged in, no custom logic is running, and you’re running a new session.

If all else fails, you can always submit a support request. I’ll help you out.

I don’t want my form to show up on a specific page

Check out the readme for details on how to add custom conditionals to your verifier. https://github.com/alexstandiford/easy-age-verifier#custom-logic-filter

Reviews

Too many issues

Many errors with wp debug on. Upgrading from 1.3.x to 2.0 was not smooth; had to reset all the fields in the customizer and this is not immediately apparent. Had to track down the conditional code to only display on certain pages. This info should be added to the wp plugin page instead of just being on github.

Quick, Easy, Perfect

Man, what a great plugin!
It will take you a matter of minutes to install and setup this age verification popup. Even the easiest to use popup plugins take longer to set up an age verification modal.
I love it! Newest addition to my favorites.
Thanks

4 star review

Editing my Review. I did not do enough research on this. So I do not want to give it a 1 star if I didn’t take the time.

Read all 7 reviews

Contributors & Developers

“Easy Age Verifier” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Easy Age Verifier” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.00

  • Initial Launch. Hooray!

1.10

  • Added a fix that caused IE 11 to not load properly
  • Added an option to change the button value in the settings page
  • Added several hooks to the form
  • The form will no longer display for logged-in users.

1.20

  • Implemented an optional form type that allows users to specify that they are of age instead of forcing them to enter their date of birth.

1.21

  • Fixed a bug that caused the verification to occasionally pop up when it shouldn’t. This was especially true for sites that use caching plugins.
  • Tweaked the CSS for the under/over pop up.

1.30

  • Overhauled the options page for better read-ability
  • Tested plugin on newest version of WordPress
  • Further improved issues where verification would pop up when it shouldn’t.
  • Added translation functions to plugin
  • Implemented external extendability on options page.
  • Implemented a system that allows developers to add custom conditionals to override the default age verification behavior

2.00

  • Overhauled the plugin from the ground up. The code is much cleaner, and more organized
  • Moved the settings page in its entirety to the WordPress customizer. This makes tweaking the form a lot nicer.
  • Improved overall plugin extend-ability

2.03

  • Improved the speed and stability of the verifier by reducing server calls (yay!).
  • Improved readme documentation
  • Implemented a debug logger, which generates some debug info to make supporting the plugin easier in the future.