plugin-icon

Legal Age Sign

作者:sdmeier·
Legal Age Sign - WordPress Plugin Version: 1.5 Author: SDMEIER
版本
1.5
最后更新
Mar 6, 2026

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.

  1. In your WordPress dashboard navigation menu, go to Settings > Age Sign Settings.
  2. Age Requirement: Enter the minimum age required to purchase your products (e.g., 18, 21).
  3. 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.
  4. Warning Text: Customize the product type (e.g., “ALCOHOL!”, “TOBACCO!”, “VAPE PRODUCTS!”), the violation text, and the local reporting phone number.
  5. Click “Save Changes” and your sign will instantly update across your entire site.
免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.9.4
这个插件是可用的下载,适用于您的站点。