Do you want to add an age verification popup to your website before accessing site content? In this article, we will show you how to add an age verification system to your website using a plugin.
When to add Age Verification To WordPress Site
Age verification is necessary when your business is selling sensitive products such as wine, vaporizer, or similar alcoholic items which are prohibited for visitors under a certain age.
This layer informs users about age requirements and eligibility to access your content.
When users visit the website, it will show up a popup with a full-screen overlay to hide the content and make the users take action before seeing it.
How to add Age Verification To WordPress Site
WordPress doesn’t have any built-in options to handle age verification functionality. You will need a plugin to enable this functionality.
There are lots of plugins to handle that. In this article, we will guide you on how to add age verification system via one of these plugins.
Firstly, from your dashboard you will need to go to Plugins > Add New.
Search for the Age Gate plugin. You will need to click on install now and then activate it.
Upon activation, you will see a menu item labeled Age Gate in the WordPress admin dashboard. Clicking on it will take you to the plugin’s settings page.
You will need to configure the plugin with your preference settings.
From the setting page, navigate to the “Restriction Settings”. Here, you can customize the age limit and where you want to show the restrictions.
For example, we will set default age restrictions to 21, restrictions for all content, and validate age using “Yes/ No”.
Then click on Save Changes button to save the settings.
Now, You can visit the website and see the age verification screen.
The default style doesn’t look so good. You can customize the design from other settings to make it looks better.
Customizing Age Verification Screen and Message
Go to the Messages section of the plugins setting page. On this page, you can add or customize Headline, Sub-headline, button text, additional content, and any other related text.
After customizing screen text you can visit the website and will see the changes you have made.
Customizing the Appearance WordPress Age Verification
Go to the Appearance section of the plugin’s setting page. On this page, you customize the background color, foreground color, background image, text color, and more.
Click on “Save changes” when you are done with customizing
Here is the result after customizing the appearance settings
Now the age verification screen looks very customized and it delivers the message you are trying to show before entering your website.
Conclusion
Hope this article helped you much to add age verification to your WordPress website.
Check out our other blogs on various WordPress Tips and Tricks we have published.