Updated on August 22, 2019
This members-only tutorial provides the steps to set up
![](https://wpdevdesign.com/wp-content/uploads/2019/08/age-confirmation-oxygen-1024x610.png)
When the "18 or Over" button is clicked, the page will reload and shows the page content.
![](https://wpdevdesign.com/wp-content/uploads/2019/08/age-confirmation-oxygen-over18-1024x610.png)
When the user pressed "Under 18" button, we can show a message like this:
![](https://wpdevdesign.com/wp-content/uploads/2019/08/age-confirmation-oxygen-under18-1024x610.png)
This age confirmation page will appear every 30 days and this period is configurable.
This is going to work for any page of the site.
Step 1
Install and activate Code Snippets plugin.
Go to Snippets > Add New.
Title: [Condition] Visitor Age
Code:
This is a premium members-only content.
To view the rest of the content, please sign up for membership ($47/month or $599 one-time).
Already a member? Log in below or here.