=== Lift External Link Notice ===
Contributors: bradleywatson
Tags: external links, compliance, leaving site, disclosure, financial
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Show a configurable leaving-site notice when visitors click external links.

== Description ==

Lift External Link Notice adds a configurable leaving-site notice for external links. It is designed for websites that need a clear outbound-link disclosure, including financial institutions, healthcare organizations, associations, and other compliance-sensitive sites.

The plugin does not require Elementor, Elementor Pro, popup builders, custom link classes, React, or build tooling. Once activated, it watches normal frontend links, ignores same-domain links, skips whitelisted domains or URLs, and shows a modal notice before the visitor continues to an external site.

Features:

* Intercepts normal external link clicks on the frontend.
* Ignores same-domain, hash, empty, javascript, mailto, tel, admin, and editor links.
* Optional whitelist for trusted domains or full URLs.
* Optional whitelist for all subdomains of the current site domain.
* Continue and cancel button labels can be edited.
* Empty button labels hide that button.
* Overlay, modal, text, title, button, and hover colors.
* Font family selector.
* Pixel-based style controls for modal width, spacing, typography, padding, gaps, and border radius.
* Global responsive controls with optional desktop, tablet, and mobile overrides.
* Live desktop, tablet, and mobile preview in the WordPress admin.
* Overlay click and Escape-key closing options.
* No visitor tracking and no external services.
* Master enable/disable toggle for turning the notice on or off without deactivating the plugin.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`.
2. Activate **Lift External Link Notice** in WordPress.
3. Go to **Settings > Lift External Link Notice**.
4. Configure the notice content, whitelist, behavior, and styling.
5. Test an external link on the frontend while logged in and logged out.

== Frequently Asked Questions ==

= Does this require Elementor? =

No. This is a standalone WordPress plugin and works without Elementor.

= Does this use a popup builder? =

No. The notice modal is built into the plugin and configured from a normal WordPress settings page.

= Will this affect internal links? =

No. Same-domain links are ignored. You can also whitelist trusted external domains or full URLs.

= Will this always show for external links? =

Yes, unless the link is ignored by design, such as `mailto:`, `tel:`, admin/editor links, same-domain links, or entries you add to the whitelist.

= Does this plugin contact external services or track visitors? =

No. The plugin does not send visitor data to external services and does not track visitors.

== Screenshots ==

1. Notice content and behavior settings with a live desktop preview.
2. Color and typography controls for matching the notice to your website.
3. Responsive sizing, spacing, and alignment controls with desktop, tablet, and mobile previews.
4. A leaving-site notice displayed before a visitor follows an external link.

== Changelog ==

= 1.0.4 =
* Derived the plugin URL from the main plugin file so assets load correctly regardless of the installation directory name.

= 1.0.3 =
* Updated plugin globals, classes, functions, settings, admin actions, and JavaScript objects to use the unique liftexli prefix.
* Rebuilt the WordPress.org submission package under the lift-external-link-notice slug.

= 1.0.2 =
* Shortened the plugin name shown in WordPress plugin info to Lift External Link Notice.
* Updated the plugin author display to Lift Group while keeping it linked to the Lift Group site.

= 1.0.1 =
* Added Lift Group branding to the settings page.
* Added a master enable/disable toggle for frontend notice behavior.

= 1.0.0 =
* Initial standalone release.
