Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Age Gate Lite

Описание

If your content or products are about cannabis, alcohol, gambling or other adult content.

Age Gate Lite makes it easier then ever to configure and style an age restriction pop up to protect younger audience.

It is designed to be user friendly, simple lightweight and only requires users to confirm their age ( Yes / No ).

This plugin is absolutely, 100% free.

Success message section included can be used for Email / Newsletter Opt-in or Promotional messages.

Devs 👨‍💻

Avaliable JS Event Listeners — agl_passed & agl_failed.

<script>
    document.addEventListener("agl_passed", function() {
        // Insert yor code for Age Gate Passed ;
    });

    document.addEventListener("agl_failed", function() {
        // Insert yor code for Age Gate Failed');
    });
</script>

Скриншоты

  • Front-end Display
  • AGL Settings

Установка

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Configure the plugin

Часто задаваемые вопросы

Where are AGL settings?

You can find Age Gate Lite menu item in Admin area

AGL CSS look weird

We have kept everything lightweight. Your Parent theme is in-charge of how font and their sizes etc.. You can override with custom CSS.

Отзывы

03.02.2023
Works fine! Just can't find where can I translate the "continue to site" string
15.11.2022
What a fantastic little age gate plugin. I use it for an online liquor shop. Easy to set up, not a lot of configuration capabilities, but it does what it needs to. Like the redirect if user ticks NO.
Посмотреть все 5 отзывов

Участники и разработчики

«Age Gate Lite» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Age Gate Lite» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

0.0.7

  • Fixed Plugin files loading hook

0.0.6

  • Added Custom Event Listeners

0.0.5

  • Added Custom Yes / No button labels support

0.0.4

  • Fixed Main Title field issue

0.0.3

  • Fixed Broken XML issues

0.0.2

  • AMP Support

0.0.1

  • Initial release