=== Instant QR ===
Contributors: hyperdirect
Tags: qr code, qrcode, shortcode, posts, pages
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.0.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate and download QR codes for WordPress posts and pages instantly—directly from the content list, with no external API.

== Description ==

Instant QR adds two convenient actions beneath every published Post and Page:

* **QR Code** opens the full Instant QR screen with a preview, public URL, one-click URL copying, and PNG and SVG downloads.
* **Quick QR** immediately downloads a high-resolution 2048 x 2048 PNG without leaving the Posts or Pages list.

No editing, copying and pasting, or external QR-code service is required.

The plugin also includes a shortcode:

`[instantqr]`

This displays a QR code for the current page URL.

Use a custom URL with:

`[instantqr url="https://example.com"]`

All QR codes are generated locally in the browser. The plugin makes no remote requests and stores no QR-code data.

== Features ==

* QR Code and Quick QR actions directly on Posts and Pages
* Immediate 2048 x 2048 PNG downloads with Quick QR
* High-resolution PNG and scalable SVG downloads from the Instant QR screen
* One-click public URL copying
* `[instantqr]` shortcode for the current page URL
* Optional custom shortcode URL
* No external API or remote requests
* No database tables or unnecessary stored options
* Lightweight and compatible with PHP 8+

== Installation ==

1. Upload the `instant-qr` folder to `/wp-content/plugins/`, or install the ZIP through Plugins > Add New > Upload Plugin.
2. Activate Instant QR.
3. Open Posts or Pages.
4. Click **Quick QR** beneath a published item for an immediate PNG download, or click **QR Code** to open the full Instant QR screen.
5. Add `[instantqr]` to post or page content to display a front-end QR code.

== Frequently Asked Questions ==

= What is Quick QR? =

Quick QR immediately generates and downloads a high-resolution PNG for the selected Post or Page without leaving the content list.

= What does the QR Code action do? =

It opens the full Instant QR screen, where you can preview the QR code, copy the public URL, and download PNG or SVG files.

= Does this use an external QR API? =

No. The bundled QR generator runs locally in the browser.

= Does it create database tables or options? =

No.

= What image formats can I download? =

The Instant QR screen provides a 2048 x 2048 PNG and a scalable SVG. Quick QR downloads the 2048 x 2048 PNG directly.

== Screenshots ==

1. QR Code and Quick QR actions displayed directly beneath a published Page, with the row actions enlarged for clarity.
2. The Instant QR screen with a live QR preview, public URL, Copy URL control, and PNG and SVG download options.

== Third-Party Libraries ==

QR Code Generator for JavaScript, version 2.0.4
Copyright (c) 2009 Kazuhiko Arase
License: MIT
Source: https://github.com/kazuhikoarase/qrcode-generator
The full MIT license is included at `assets/js/vendor/LICENSE`.

"QR Code" is a registered trademark of DENSO WAVE INCORPORATED.

== Changelog ==

= 1.0.6 =
* Added translator comments for localized accessibility labels containing placeholders.
* Added the complete GPL v2 license text in `LICENSE.txt`.
* Updated the plugin version, stable tag, and changelog for this release.

= 1.0.5 =
* Renamed the admin screen title from Instant QR Generator to Instant QR.
* Added a muted admin tagline: "Generate and download QR codes for your WordPress content."
* Updated the readme wording and official screenshot captions.

= 1.0.4 =
* Renamed the immediate-download row action from Download QR to Quick QR.
* Updated descriptions, accessibility text, installation steps, FAQs, and screenshot captions to explain the Quick QR workflow.
* Added a Screenshots section to the WordPress.org readme.

= 1.0.3 =
* Replaced the original internal naming scheme with consistent Instant QR names.
* Changed the shortcode from `[wpqr]` to `[instantqr]` before public release.
* Reorganized PHP code into focused plugin, admin, and shortcode classes.

= 1.0.2 =
* Renamed the plugin to Instant QR and updated the product URL and plugin slug.

= 1.0.1 =
* Added an immediate-download row action for 2048 x 2048 PNG downloads from Posts and Pages list screens.

= 1.0.0 =
* Initial development build.
