Legal Age Sign
Legal Age Sign
Description
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.
Installation
- Download or locate the
legal-age-sign.zipfile. - Log into your WordPress Dashboard.
- Navigate to Plugins > Add New (or Add New Plugin).
- Click the “Upload Plugin” button at the top of the screen.
- Select the
legal-age-sign.zipfile and click “Install Now”. - Once installed, click “Activate Plugin”.