Table of Contents
The Age Gate plugin is an easy-to-use tool to restrict content based on age. This plugin allows you to set a restriction on what content can be seen or restricted based on the age of the user.
To configure this plugin, go through each options page and select the options that you would like to use.
Restriction Settings #
Default age | The age a user must be to view the content |
---|---|
Restrict | Whether to restrict all content of a custom selection |
Varied ages | Adds the option to change the age required for the content. Useful if you need to restrict content by different ages e.g. movie trailers |
Restrict registration (deprecated) | Whether or not to require a date of birth when using the default Wordpress registration form. |
Validate age using | Display type of input fields |
Remember | Add remember me option |
Remember length | How long to remember a user for |
Auto check remember me | Automatically checks the remember me option |
Date format | DD MM YYYY or MM DD YYYY date format |
Ignore logged in | Ignores logged in users. |
Rechallenge | If a user fails the challenge, allow them to retry. |
Redirect failures | Can redirect users to a page or website if they fail the challenge. |
Messaging Settings #
Headline | The headline text shown on Age Gate | |
---|---|---|
Sub headline | Secondary headline on the Age Gate | |
Remember me text | Custom text for remember me | |
Yes/No sub question | The challenge question for Yes/No buttons | |
Yes button text | The text to display on the “Yes” button | |
No button text | The text to display on the “No” button | |
Submit button text | Text added to the submit button | |
Additional content | Custom copy field shown after the Age Gate | |
Invalid inputs | Error displayed when an invalid input has been entered. | |
Under age | Message display if a user fails the Age Gate or is too young for that content | |
Generic error | If an error occurs outs side of validation or failure | |
Required field message | Message displayed when an input is required. Adding {field} will output the field name. | |
Numeric field message | Error message if user inputs a non numeric input the date fields. Adding {field} will output the field name. | |
Minimum length message | Message display if the input does not meet required length. Adding {field} will output the field name. Adding {param} will output the required length. | |
Maximum length message | Message display if the input is greater than required length. Adding {field} will output the field name. Adding {param} will output the required length. | |
Maximum numeric message | If an input is greater than it’s maximum number, e.g. months may only be a maximum of 12. Adding {field} will output the field name. Adding {param} will output the required length. |
Appearance Settings #
Logo | Choose a logo to display on the Age Gate |
---|---|
Background colour | Select the background colour of the Age Gate |
Background colour opacity* | Alter the opacity of the background colour. |
Background image | Choose a background image for the Age Gate. |
Background image opacity* | Set the opacity of the background image. |
Foreground colour | Choose the foreground colour of the Age gate |
Foreground colour opacity* | Set the opacity of the foreground image. |
Text colour | Choose the text colour of the Age Gate |
Layout | Whether to include the plugin default styling |
Viewport meta tag | Adds to the Age Gate head element. |
Change the page title | Changes the page title to “Age Verification” when a human is challenged. |
Auto tab inputs | When using input fields, the next will but focused on completion to the previous |