=== Jadav PDF Lens ===
Contributors: jadavsanjay
Tags: pdf, document, viewer, block, shortcode
Requires at least: 6.5
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

Display PDF documents in a responsive, accessible viewer without relying on external viewer services.

== Description ==

Jadav PDF Lens adds a focused PDF viewer block and shortcode. Choose a PDF from the Media Library or enter a direct URL, adjust the viewer height, and control whether open and download actions are visible.

The plugin uses the browser's native PDF support. It does not upload documents to an external service, load third-party scripts, create custom database tables, or collect personal data.

Features:

* Native PDF document block.
* `[jadav_pdf_lens]` shortcode.
* Responsive height controls.
* Optional open and download links.
* Accessible document title and fallback link.
* Wide and full-width block alignment.
* No external services, tracking, or bundled libraries.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install the ZIP from Plugins > Add New.
2. Activate Jadav PDF Lens.
3. Insert the Jadav PDF Lens block in the editor.
4. Choose a PDF or provide a direct PDF URL.

== Frequently Asked Questions ==

= Does the plugin send PDFs to another service? =

No. The browser loads the selected PDF URL directly.

= What happens if a browser cannot display PDFs? =

The viewer displays an accessible fallback link so the visitor can open the document directly.

= How do I use the shortcode? =

Use `[jadav_pdf_lens id="123" height="700"]` for a Media Library PDF, or `[jadav_pdf_lens url="https://example.com/document.pdf"]` for a direct URL.

Supported options are `id`, `url`, `height`, `title`, `open`, and `download`.

== Privacy ==

This plugin does not collect, store, or transmit personal data. When a remote PDF URL is used, the visitor's browser connects directly to that remote host.

== Changelog ==

= 1.0.0 =
* Initial release.
