Access thousands of quality, free templates; plus royalty-free photos from Envato Elements.
About Age Verification
Age Verification for WordPress is a plugin that allows you to add a pop-up window to your website to verify the age of your visitors before they can view your content. You can customize various features of the pop-up, such as the minimum age, background image, logo image, and button text. There is also a Pro version available with additional features and color customizations.Frequently asked questions
What does the Age Verification plugin do?
The Age Verification plugin adds a pop-up window to your website to verify a visitor's age before they can view your content. It allows you to customize various features of the age verification box.
What customization options are available for the age verification pop-up?
You can customize the minimum age, background image, logo image, title text, message text, and Yes/No button text. These settings can be found in your WordPress dashboard under Appearance -> Customize -> Age Verification.
Does the plugin use cookies?
Yes, a cookie is saved for 30 days when the user selects the "Yes" button, so they don't have to verify their age again for that period.
What languages does Age Verification support?
Age Verification for WordPress has been translated into multiple languages, including Afrikaans, Czech, Danish, German, Spanish, French, Italian, Russian, Japanese, and Dutch.
What additional features does the Pro version offer?
The Pro version allows you to set the cookie duration, enable debug mode for testing, and customize success and failure messages. It also offers more color customization options for the page background, popup background, text, and buttons.
Changelog
3.0.0
- ? NEW: Added WPCom Check to restrict plugin usage on wordpress.com
- ? NEW: Added settings page for FSE themes to edit popup settings
- ? NEW: Added Hindi translation
- ? NEW: Added Dutch translation
- ? NEW: Added Japanese translation
- ? NEW: Added Ukrainian translation
- ? NEW: Added Romanian translation
- ? NEW: Added Hebrew translation
- ? NEW: Added Russian translation
- ? IMPROVE: Updated text strings for localization
- ? IMPROVE: Updated PluginUpdateChecker folder location
- ? IMPROVE: Updated overlay background image to be applied with JS instead of inline CSS
- ? IMPROVE: Updated usage of array() to the short syntax []
2.9.6
- Added ‘Danish’ language translation in
languages/dispensary-age-verification-da_DK.po - Added ‘Danish’ language translation in
languages/dispensary-age-verification-da_DK.mo - Added plugin usage restriction for websites hosted on wordpress.com in
dispensary-age-verification.php
2.9.5
- Bugfix for admin notice to make sure it’s fully dismissable in
dispensary-age-verification.php
2.9.4
- Added notice about potential disruption to plugin updates by Matthew Mullenweg and what our next steps will be in
dispensary-age-verification.php
2.9.3
- Updated popup styles in
public/css/dispensary-age-verification-public.css - Updated image dimensions builder to fix warning if no logo dimensions are found in
public/class-dispensary-age-verification-public.php - Updated customizer settings order in
includes/customizer.php
2.9.2
- Added 2 new helper functions for image width and height in
includes/age-verification-functions.php - Updated logo image width and height to fix CLS issues in
public/class-dispensary-age-verification-public.php
2.9.1
- Updated JS scripts to use a JS file instead of adding it as inline code to the footer in
public/class-dispensary-age-verification-public.php - Updated JS scripts to use a JS file instead of adding it as inline code to the footer in
public/js/class-dispensary-age-verification-public.js
2.9.0
- Added new Afrikaans translation in
languages/dispensary-age-verification-af.po - Added new Afrikaans translation in
languages/dispensary-age-verification-af.mo - Added new Finnish translation in
languages/dispensary-age-verification-fi_FI.po - Added new Finnish translation in
languages/dispensary-age-verification-fi_FI.mo
2.8.0
- Added new Czech translation in
languages/dispensary-age-verification-es_MX.pot - Added new Spanish (Mexico) translation in
languages/dispensary-age-verification-cs_CZ.pot - Bug fix ‘TypeError: $.ageCheck is not a function’ error in
public/class-dispensary-age-verification-public.php - Updated text strings for localization in multiple language translation files in
languages/ - WordPress Coding Standards throughout multiple files in the plugin
2.7.0
- Updated various security related issues found with Codacy throughout multiple files in the plugin
2.6.0
- Added new German translation in
languages/dispensary-age-verification-de_DE.pot - Added option in the customizer settings to set timeout for the success message in
includes/customizer.php - Added
dav_sanitize_selecthelper function for the customizer settings inincludes/customizer.php - Updated translation array with
successMessagearray item inpublic/class-dispensary-age-verification-public.php - Updated text strings for localization in
languages/dispensary-age-verification.pot - Updated text strings for localization in
languages/dispensary-age-verification-es_ES.pot - Updated text strings for localization in
languages/dispensary-age-verification-fr_FR.pot - Updated text strings for localization in
languages/dispensary-age-verification-it_IT.pot - General code cleanup in multiple files
2.5.0
- Added new Spanish translation in
languages/dispensary-age-verification-es_ES.pot - Added new French translation in
languages/dispensary-age-verification-fr_FR.pot - Added new Italian translation in
languages/dispensary-age-verification-it_IT.pot - Updated
.potfile name and updated text strings for localization inlanguages/dispensary-age-verification.pot
2.4.0
- Added admin notice based on installed version of AVWP Pro in
dispensary-age-verification.php - Updated public CSS enqueue to use the minified file version in
public/class-dispensary-age-verification-public.php - Updated
.potfile name and updated text strings for localization inlanguages/avwp.pot - Updated the plugin text-domain from
dispensary-age-verificationtoavwpin multiple files - Updated Class names to use use the
Age_Verificationprefix (removing ‘Dispensary’) in multiple files - Updated function names to use the
avwpprefix in multiple files - Updated CSS class names to use the
avwpprefix in multiple files - General code cleanup in multiple files
2.3.2
- Added
avwp_hex2rgbahelper function inincludes/age-verification-functions.php
2.3.1
- Updated the YES/NO button order in the customizer settings in
includes/customizer.php - Updated the YES/NO button order in the popup in
public/js/dispensary-age-verification-public.js - Updated the YES/NO button styles in
public/css/dispensary-age-verification-public.css - Updated popup title to not display if the setting is empty in
public/js/dispensary-age-verification-public.js - Updated text strings for localization in
languages/dispensary-age-verification.pot - General code cleanup in multiple files
2.3.0
- Added 2 new filters for before/after the popup content in
public/class-dispensary-age-verification-public.php - Updated the popup to include the before/after filters in
public/js/dispensary-age-verification-public.js - Updated the popup background image CSS in
public/class-dispensary-age-verification-public.php - Updated text strings for localization in
languages/dispensary-age-verification.pot - General code cleanup in multiple files
2.2.0
- Added
avwp_localize_script_translation_arrayfilter inpublic/class-dispensary-age-verification-public.php - Bugfix for empty background image CSS overriding background color in
public/class-dispensary-age-verification-public.php - Updated $translation_array data in
public/class-dispensary-age-verification-public.php - Updated prefix for
dav_redirect_on_fail_linkfilter to use avwp instead of dav inpublic/class-dispensary-age-verification-public.php - Updated priority order for settings controls in
includes/customizer.php - Updated text strings for localization in
languages/dispensary-age-verification.pot - General code cleanup in multiple files
2.1.0
- Added JavaScript functions for cookie that saves to users computer for 30 days when they verify their age in
public/js/js.cookie.js - Added cookie that saves to users computer for 30 days when they verify their age in
public/js/dispensary-age-verification-public.php - Added
dav_redirect_on_fail_linkfilter for the pop up inpublic/class-dispensary-age-verification.php - Updated check for popup to remain hidden when checkbox is selected in the Customizer in
public/class-dispensary-age-verification.php - General code cleanup in multiple files
2.0.1
- Updated text strings for localization in
includes/customizer.php - Updated
.potfile with text strings for localization inlanguages/dispensary-age-verification.pot - Removed CSS and JS file from loading on admin screens in
includes/class-dispensary-age-verification.php - General code cleanup in multiple files
2.0.0
- Added a background image option to customizer
- Added Yes/No button text options to customizer
- Updated multiple styles for the pop up modal
1.9.0
- Updated multiple styles for the pop up modal (text, titles, buttons)
1.8.0
- Fixes bug where the pop up opened on every single page
1.7.0
- Changed the birthday input for a simple YES/NO button selection
1.6.0
- Added option to Customizer to hide the modal pop up for Administrator users
1.5.0
- Fixed bug with the logo upload not displaying on the live site
1.4.0
- Fixed bug with form not recognizing the right age input by the user
1.3.0
- Fixed bug with [age] selector not working correctly.
- Fixed bugs with the default customizer options not working correctly on fresh installs
1.2.0
- Uploaded missing
customizer.phpfile from version 1.1 - Added new [age] selector in the pop up text which updates to the minimum age requirement you select in the customizer
1.1.0
- Added Theme Customizer options to allow users to customize the pop up title, copy, minimum age and logo upload
1.0.1
- Removed bug that redirected visitors to the wrong URL after form submissions (thanks @VanSmoke)
1.0.0
- Initial release