這個外掛並未在最新的 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.

使用者評論

2023 年 2 月 3 日
Works fine! Just can’t find where can I translate the “continue to site” string
2022 年 11 月 15 日
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