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.

  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.

Installation

  1. Download or locate the legal-age-sign.zip file.
  2. Log into your WordPress Dashboard.
  3. Navigate to Plugins > Add New (or Add New Plugin).
  4. Click the « Upload Plugin » button at the top of the screen.
  5. Select the legal-age-sign.zip file and click « Install Now ».
  6. Once installed, click « Activate Plugin ».

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« Legal Age Sign » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Legal Age Sign » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.