=== PlaneTrack Flight Widgets ===
Contributors: planetrack
Tags: flight tracker, flights, aviation, airport, ads-b
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Live flight map, single-flight card, airport arrivals and departures board, and the PlaneTrack Airport Module, as shortcodes and a block.

== Description ==

Put live flights on your site in one line. The widgets come from PlaneTrack.ai, an independent flight tracking network, and update on their own: the map live, the flight card every 30 seconds, the airport board every minute.

* `[planetrack_map]` the live map; add `lat`, `lon` and `zoom` to center it on your airport or town.
* `[planetrack_flight callsign="UAL1"]` one flight as it flies: route, progress, altitude, speed, ETA.
* `[planetrack_airport code="KJFK"]` departures and arrivals for an airport (ICAO or IATA code). General aviation fields without a schedule show the movements PlaneTrack's receivers recorded.
* `[planetrack_airport_module code="KSMO" key="apt_..."]` the paid Airport Module: a branded live map around the field, recorded arrivals and departures, weather and activity statistics. Key from planetrack.ai/embed.html.

The same options are available as the "PlaneTrack flight widget" block.

Free to use on any site, commercial sites included. The one condition: keep the PlaneTrack.ai link inside the widget visible. No ads, no cookies set on your site, no tracking of your readers by the widget. Aircraft on the FAA privacy list (LADD) never appear.

== External services ==

The widgets are iframes loaded from https://planetrack.ai (the embed pages under /embed/). Nothing from your site is sent to PlaneTrack except the widget URL (which contains the options you chose) and the usual browser request headers. Terms: https://planetrack.ai/terms.html. Privacy: https://planetrack.ai/privacy.html.

== Installation ==

1. Upload the plugin folder to /wp-content/plugins/ or install the zip from Plugins > Add New > Upload.
2. Activate it.
3. Add a shortcode to any page or post, or insert the "PlaneTrack flight widget" block.

== Screenshots ==

1. The live map, centered on your airport or town with `[planetrack_map lat="40.70" lon="-73.90" zoom="8"]`.
2. One flight as it flies: route, progress, altitude, speed and ETA.
3. The live departures and arrivals board for an airport.

== Changelog ==

= 1.0.0 =
* First release: map, flight, airport board and Airport Module shortcodes plus the block.
