Age Gate

Description

There are many uses for restricting content based on age, be it movie trailers, beer or other adult themes. This plugin allows you to set a restriction on what content can been seen or restricted based on the age of the user.

Features

  • Ask users to verify their age on page load
  • SEO Friendly – common bots and crawlers are omitted from age checks
  • Choose to restrict an entire site, of selected content
  • Allow certain content to not be age gated under “all content” mode
  • Add an age check to site registration forms
  • Three choices for input; dropdowns, input fields or a simple yes/no button
  • Customise the order of the inputs based on your region (DD MM YYYY or MM DD YYYY)
  • Allow a “remember me” check box if desired
  • Ability to omit logged in users from being checked
  • Add your own logo
  • Update the text displayed on the entry form
  • Select background colour/image, foreground colour and text colour
  • Use built in styling out of the box, or your own custom style
  • Ability to add legal note or information to the bottom of the form
  • Redirect failed logins to a URL of your choice e.g. an alcohol awareness website.

1.3.1

  • Options added for custom error messaging
  • Slight change to admin page layout

1.3.0

  • Option to bypass particular content when using “All Content” setting. Useful to allow Terms pages etc.
  • Option to redirect users to a custom destination if age test is failed

1.2.0

  • Fixed issue where correct input was not honoured in some browsers

1.1.0

  • Added “no second chance” option which disallows multiple attempts if failed.
  • Minor background improvements

1.0.1

  • Minor changes to default style
  • Fixed typo in readme

1.0.0

  • Initial release

Screenshots

  • What your users see with default styling
  • The settings page
  • The checkbox to restrict selected content

Installation

  1. Upload the ‘age-gate’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Visit ‘Age Gate’ admin section and adjust your configuration.

FAQ

Installation Instructions
  1. Upload the ‘age-gate’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Visit ‘Age Gate’ admin section and adjust your configuration.
Can I restrict a particular page?

You can. If you use selected content, a checkbox will appear in content pages

Can I add my own logo/branding?

Of course, it’s your site

I’m in X country, can I format the date style?

Yes! DD MM YYYY and MM DD YYYY are supported along with a choice of how the dates are entered.

I use caching, will that be affected?

At present the plugin doesn’t play too well with caching. With so many caching options available it’s tough to cover them all. We’ll be looking to improve this in future releases.

Reviews

Read all 1 review

Contributors & Developers

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

Contributors

Translate “Age Gate” into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.