Yup, we had to build a Blog!

We heard that all the cool guys have one. So we thought to give you a place to find out more about what we like - not only in webdesign, but in general. Plus, here you get to be the first to see what our next WP themes will look like.

Age Verification in WordPress – How to Enable It

2

Age Verification in WordPress - How to Enable It

Here’s an interesting piece of WordPress reality … not everything published with WordPress is suitable for audiences of all ages. Even though about 99% of all WordPress sites don’t need any sort of age verification (not that I’ve done any serious research), I’m sure we can all imagine some individual scenarios in which such a thing is a must.

Actually, you don’t even have to be publishing any sort of adult content. Just to give you one family-friendly example: picture the situation where you’re running a contest and only people above 18 are eligible to win… What I’m trying to say is that age verification can be a nice feature for a number of other purposes, not only adult content.

Of course, any sort of age verification will not actually prevent underage visitors from accessing your site … this is just a “tell me your age and I’ll trust you” kind of thing. Still, according to the law, this is all you need.

Anyways. Let’s get to the how-to part.

Enabling age verification

I’m sure this won’t be any kind of surprise to you, but the only sensible way to enable some age verification functionality is through a plugin. The top one in that area is called Age Verify.

age-verify

After you install and activate it, you can go to the settings section to set everything up.

The options are quite straightforward, yet very functional.

First of all, you can set the required age above which visitors can access your site and the time for which the users should be remembered (setting it to 1440 will force visitors to verify their age every 24 hours).

1

You can also set the plugin to verify only the age of not logged-in visitors. This means that people with user accounts can access your site anyway. This actually makes perfect sense, otherwise you could even block out admin users.

2

One more thing, if you’ve opened up your site for public registrations, you can also set the plugin to require age verification from anyone trying to register.

3

On the front end, you can customize how everything looks and also tweak the standard placeholder messages.

4

This is actually something you should do right away because the default design of the plugin doesn’t look all that attractive (image below). Anyway, it’s the functionality we’re after here.

5

Other solutions

Age Verify is not the only plugin that can provide you with such functionality, but it’s the only one that’s still up to date and free.

A couple of years back you could also use plugins like WP-Door and Content Warning, but their authors have stopped supporting them a long time ago.

Generally, I don’t advise you to use anything that doesn’t list your current WordPress version in the “Compatible up to” section on the plugin’s official page in the directory.

compatible

Finally, if you’re willing to invest some money into this whole thing, you can get the Adults Only plugin ($13).

adults-only

This one provides a number of verification methods, as opposed to just one. You can use links, input fields, or drop downs.

It’s also SEO-friendly, which means that search engines won’t get blocked by the plugin, and will be able to index the content of your site uninterrupted.

On top of that, there are three kinds of age verification pages available: the default gate (already good looking, won’t require any modifications), overlay (something like a lightbox), page (blank template which can be customized manually).

There’s not much more I can say about age verification. As it turns out, it’s quite a basic piece of functionality, and the plugins providing it are just simple one-feature plugins.

But feel free to comment. Do you know any other ways of enabling age verification on a WordPress site? Are there any other plugins I’ve overlooked?

written by Karol

Karol K. (@carlosinho) is a 20-something year old web 2.0 entrepreneur from Poland, and a grad student at the Silesian University of Technology. He shares his thoughts at newInternetOrder.com and ThemeFuse. Tune in to get his blogging and online business advice.

Comments

  1. Mathew Porter, February 4, 2013

    Must say that is pretty awesome, especially as there shouldnt be any effect on SERP’s. Not sure what I would use this for yet, but if a project came my way ill dig this link out.

    reply
  2. Futheas, February 7, 2013

    I´m still using Content Warning and it works pretty well with the latest version of wordpress (3.5.1) but inspired by your posting I discovered there is a follow-up plugin called Content Warning v2 which is said to be tested with wp 3.4.2.
    http://wordpress.org/extend/plugins/content-warning-v2/

    reply

Add a comment

Top
(it will not be shared)

PixelKit creates premium UI kits & design resources ready to rock your next design!

A leading provider of web hosting services to over 100,000 websites from small to large.

Articles, Web desgin, Freebies, WordPress. Your favorite creative web resource. Stay tuned!

A blog providing advice on how you can use the almighty internet and start an online business

WPHub is a portal about WordPress themes, hosting, plugins, tutorials, and much more!