=== WhatIsMyLocation Widget ===
Contributors: whatismylocation
Tags: location, geolocation, gps, coordinates, widget
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add a free, privacy-first "find my location" box to your site with one shortcode.

== Description ==

Renders the whatismylocation.ai location widget in a sandboxed iframe:

* Visitors tap one button and see their coordinates and address.
* Geolocation happens inside the iframe with the visitor's explicit browser permission.
* No scripts, cookies, or trackers are added to your site. Your site never receives location data.
* Three themes: light, dark, golden. Compact or full (with map) modes.

Usage:

`[whatismylocation]`
`[whatismylocation theme="golden" mode="full" height="420"]`

A classic sidebar widget is also provided under Appearance > Widgets.

== Installation ==

1. Upload the plugin zip via Plugins > Add New > Upload Plugin, then activate.
2. Put the shortcode `[whatismylocation]` in any post, page, or shortcode-enabled widget area.

== Frequently Asked Questions ==

= Is it really free? =
Yes, for any site including commercial ones. The small "powered by" link inside the widget must remain visible.

= Does it slow my site down? =
The iframe lazy-loads and weighs a few kilobytes. Nothing loads until the widget scrolls into view.

= GDPR? =
The widget sets no cookies and your site receives no personal data. Location is requested from the visitor by their own browser, inside the iframe, only when they tap the button.

== Changelog ==

= 1.0.0 =
* Initial release: shortcode + classic widget, three themes, compact/full modes.
