Surbma | Age Verification Yes/No Popup


This plugin is showing a Popup for visitors to verify their ages on your page. YES button will close the Popup and visitors can continue reading your content. NO button will redirect visitors to another URL, set by you to inform them about your policy.

This plugin can be used on 18+ adult sites, restricted content websites or any websites, where a visitor confirmation about age, knowledge, warning is necessary to continue reading the website. Even can be used for online marketing tricks.

This plugin can be an alternative for other Cookie Notice plugins to inform users that your site uses cookies and to comply with the EU cookie law regulations.

IMPORTANT: the popup is intentionally obtrusive and can not be closed, except clicking on the yes or no buttons.

POPUP POSITIONS: You can set where to show the popup, for example: only on frontpage, only on category pages, only on special pages or posts, even for Custom Post Types and more…

FULL CUSTOMIZATIONS: Every text is customizable, even the button’s texts! You can also set the design of the buttons and you have the option to make the first or the second button to be the confirmation button.

THEMES: There are popup themes to choose the design, you like. The Full Page Themes are hiding the entire content behind the popup.

FULL CONTROL: Set cookie expiration for visitors, so the popup won’t show again in X days, you set.

MEMBERSHIP MODE: You can disable popup for logged in users, so your members will not see any popups at all. You can always show the popup to all visitors, who are not logged in, even if they clicked on the Yes button. There is a “One button mode” also, that will hide the second button, so you can show only one option to your visitors. This option is best paired with the “always show to all visitors, who are not logged in” option, so you can keep your content safe.

DEVELOPER FRIENDLY: If you enable debug mode, popup will show always, on every refresh, so you can test how it works.

Do you want to contribute or help improving this plugin?

You can find it on GitHub:

You can find my other plugins and projects on GitHub:

Please feel free to contribute, help or recommend any new features for my plugins, themes and other projects.

Do you want to know more about me?

Visit my webpage:

Do you like and use my free plugins?

You can donate me for FREE here:


  1. Upload surbma-yes-no-popup folder to the /wp-content/plugins/ directory
  2. Activate the Surbma – Age Verification Yes/No Popup plugin through the ‘Plugins’ menu in WordPress
  3. Go to settings page: Settings -> Yes/No Popup
  4. Set the Popup content and display options.
  5. That’s it. 🙂


What is this plugin good for?

This plugin shows a simple popup with two options: Yes or No. One option is set a cookie, so popup will disappear for the visitor and the other option is redirecting the visitor to another url set by you. This solution is very good for +18 adult sites or any other website, that require any confirmation. This plugin can be used by online marketers also.

What does Surbma mean?

It is the reverse version of my last name. 😉


September 20, 2017
Finally, a plugin of this nature that is simple and to-the-point. It does exactly what it says it will do (surprisingly rare these days), actually looks decent out of the box, and is easy to customize through your theme's style.css. About the only other feature I wish it had is the ability to trigger the popup by post tag, but doing it by category works good enough for now.
August 24, 2017
Its a simple plugin but the support is great. The creator of this plugin responds even in a min. Also this plugin do what other warning plugins cant do.
Read all 5 reviews

Contributors & Developers

“Surbma | Age Verification Yes/No Popup” is open source software. The following people have contributed to this plugin.




  • NEW – Dynamic post type selection. Automatically shows all available public post types to choose. IMPORTANT! You have to set these options again after the upgrade!
  • Tested with WordPress 5.0 version.


  • NEW – Simple versioning.
  • NEW – Plugin name change: Surbma | Age Verification Yes/No Popup


  • Added WPML compability, so now options can be translated with WPML’s String Translation.


  • Admin UI code enhancements.


  • NEW admin UI.
  • Added Donation link.
  • Tested with WordPress 4.9 version.


  • Membership mode! New options for membership sites.
  • Added “Always show Popup for NOT logged in users” option.
  • Added “One button mode (Show only Popup Button 1)” option.
  • Added “Except on this page” option to “EVERYWHERE” option, to let you choose one page, where the popup will not show up. Good for registration or login pages.


  • Improved cookie read method to make it compatible with server side caching.
  • Added Debug mode option to settings page.
  • Added Hide Popup for logged in users option to settings page.
  • Tested with WordPress 4.8 version.


  • Added new condition: post category.


  • Minor CSS fix for buttons with long text.


  • NEW Feature: Themes. There are 3 new themes added now and more are coming. Check out the two new full page themes to hide everything behind the popup!


  • Admin styles are loading from local file, instead of external CDN. This is a strict plugin development rule.


  • First version to prepare for the official WordPress repo.
  • Added option to conditionally show popup.
  • Added option to set cookie expiration.
  • Added debug mode, so popup will show always.


  • A lot of changes to make it work actually.
  • Added settings page.
  • Every text can be modified.


  • Initial commit.