=== QTT Embeds - Visa Checker Widget ===
Contributors: quicktraveltools
Tags: visa, travel, passport, widget, embed
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed a live visa-requirement checker on any post or page. Powered by QuickTravelTools.

== Description ==

QTT Embeds adds a live visa checker to your WordPress site. Readers pick their passport and destination and get the current entry rule, kept up to date by QuickTravelTools.

* A Gutenberg block with live preview, plus a `[qtvc_embeds_visa]` shortcode for classic editors and widgets
* Preset the passport your audience holds, match your theme (light or dark), and set your brand's accent color
* Site-wide defaults under Settings → QTT Embeds, overridable per block or shortcode
* The "Powered by QuickTravelTools" badge is optional and off by default; enable it under Settings → QTT Embeds → Branding

The widget runs in an isolated iframe and loads its data from quicktraveltools.com. No API key is required for the free tier.

== Installation ==

1. Upload the `qtt-travel-visa-checker` folder to `/wp-content/plugins/` or install the zip via Plugins → Add New → Upload Plugin.
2. Activate the plugin.
3. (Optional) Set your defaults under Settings → QTT Embeds.
4. Add the "QTT Visa Checker" block to any post or page, or use the `[qtvc_embeds_visa]` shortcode.

== Frequently Asked Questions ==

= Do my readers need an account? =
No. The widget is free to use for your readers with no signup.

= Which passports and destinations are covered? =
The widget covers the same routes as the QuickTravelTools visa checker. The destination list adapts to the selected passport.

= How fresh is the data? =
Entry rules are maintained by QuickTravelTools and refreshed on every site deploy. The widget always loads current data.

= Can I remove the QuickTravelTools badge? =
Yes. The badge is optional and off by default. You can turn it on under Settings → QTT Embeds → Branding if you would like to credit QuickTravelTools.

= Does the widget track my readers? =
The widget loads from quicktraveltools.com, which runs cookieless analytics. No accounts, no cross-site tracking.

== Screenshots ==

1. The QTT Visa Checker block in the editor with live preview.
2. Widget settings: passport, theme, accent color, height.
3. Site-wide defaults under Settings → QTT Embeds.

== Changelog ==

= 1.0.3 =
* Renamed all plugin identifiers to a 4+ character prefix (qtvc_) for WordPress.org review compliance: functions, defines, option names, script handle, shortcode, block name.

= 1.0.2 =
* The "Powered by QuickTravelTools" badge is now opt-in and off by default.
* Text domain updated to qtt-travel-visa-checker.

= 1.0.1 =
* New: lock the widget to one destination. Set a site-wide default under Settings → QTT Embeds, per block in the editor, or with the `destination` shortcode attribute (e.g. `[qtvc_embeds_visa destination="TH"]`). Readers only pick their passport.

= 1.0.0 =
* Initial release: Gutenberg block, `[qtvc_embeds_visa]` shortcode, settings page with site-wide defaults.
