[WordPress] 外掛分享: Legal Age Sign

首頁外掛目錄 › Legal Age Sign
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 5.0+ v1.5 上架:2026-03-05

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Legal Age Sign」→ 直接安裝(推薦)

原文外掛簡介

The Legal Age Sign plugin provides a dynamic, live-updating compliance sign for websites selling age-restricted products. It automatically calculates the exact cutoff date based on the visitor’s local device time and your custom age requirements (e.g., 18 or 21). The sign features a live clock and updates the “Born on or before” date automatically at midnight without requiring a page refresh.
Features

Customizable Age Limit: Set the minimum required age directly in the settings, and the math will automatically adapt.
Live Time & Date: Displays the visitor’s current local date and time.
Auto-Updating Birth Date: Automatically calculates the required cutoff date in real-time.
Fully Customizable: Change warning text, phone numbers, and images directly from the WordPress dashboard.
Theme Integration: Automatically inherits your website’s default fonts and text colors to blend seamlessly with your active theme.
Portable Images: Default compliance images are packaged directly inside the plugin.

Usage
To display the sign on any Page, Post, or Widget area, simply insert the following shortcode:
[legal_age_sign]
Configuration & Settings
You do not need to edit any code to change the text, age, or images on the sign.

In your WordPress dashboard navigation menu, go to Settings > Age Sign Settings.
Age Requirement: Enter the minimum age required to purchase your products (e.g., 18, 21).
Images: By default, the plugin uses its built-in images. To override them, paste the full URL of any image from your WordPress Media Library into the text boxes.
Warning Text: Customize the product type (e.g., “ALCOHOL!”, “TOBACCO!”, “VAPE PRODUCTS!”), the violation text, and the local reporting phone number.
Click “Save Changes” and your sign will instantly update across your entire site.

文章
Filter
Apply Filters
Mastodon