=== 360 PDF ===
Contributors: net360pe
Donate link: https://www.paypal.com/ncp/payment/R2L6JRLUD6LGJ
Tags: pdf, pdf viewer, document viewer, shortcode
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 7.1
Stable tag: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Responsive PDF viewer for WordPress with an optional ebook-style page flip mode.

== Description ==
360 PDF lets you add PDF documents from the WordPress Media Library and display them with a responsive viewer on desktop, tablet, and mobile devices.

The plugin provides two display modes:

* PDF Viewer
* EBOOK / FLIPBOOK

The ebook mode supports single-page and double-page layouts on desktop, touch and mouse interaction, zoom controls, thumbnails, fullscreen mode, and a configurable background color.

If you would like to support the continued development of 360 PDF, you can [donate to support the project](https://www.paypal.com/ncp/payment/R2L6JRLUD6LGJ).

== Installation ==
1. Upload the 360 PDF plugin to the `/wp-content/plugins/` directory or install it from the WordPress Plugins screen.
2. Activate 360 PDF from the Plugins screen.
3. Go to **360 PDF > Add PDF**.
4. Select a PDF from the Media Library.
5. Choose the display mode and save the document.
6. Copy the generated shortcode and place it in a post, page, widget, or compatible page builder.

== Usage ==
Use the generated shortcode: `[360_pdf id="123"]`

Optional attributes include:
`[360_pdf id="123" height="800" download="yes" fit="width" mode="ebook"]`

The `fit` attribute accepts `width`, `page`, or `100`. The `mode` attribute accepts `viewer` or `ebook`.

== Privacy ==
360 PDF does not send PDF documents or visitor data to an external service. The final WordPress.org distribution must package the PDF rendering library locally; no remote PDF rendering service is required.

== Third-Party Libraries ==
360 PDF includes PDF.js 6.3.289 locally for PDF rendering. PDF.js is distributed under its applicable open-source license. Its license is included at `public/assets/js/pdfjs/LICENSE`.

360 PDF includes StPageFlip 2.0.7 locally for the EBOOK / FLIPBOOK page-turn effect. StPageFlip is distributed under the MIT License. Its license is included at `public/assets/js/page-flip/LICENSE`.

No PDF rendering library, page-turn library, JavaScript, CSS, or image asset is loaded from a third-party CDN.

== Changelog ==
= 1.0 =
* Initial WordPress.org release preparation.
* Added responsive PDF viewing and ebook-style page turning.
* Added mouse and touch navigation.
* Added thumbnails, fullscreen, zoom, page navigation, and background color controls.
