=== Papiro PDF ===
Contributors: okmultimedia
Tags: pdf, pdf viewer, embed pdf, document viewer, pdf block
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A beautiful PDF viewer for WordPress. Add your PDF with a block or a shortcode.

== Description ==

Papiro PDF shows your PDF on your own page, with a beautiful viewer. Your visitors can read it without leaving your site.

**What it does**

* Scroll view
* Gutenberg block and shortcode
* Papyrus style
* Next page, zoom, print, download and full screen
* Show or hide the document title and the download, print and full screen buttons, for every viewer or one by one
* Choose the viewer height
* Share bar (optional)
* Easy to read on phones

**How to use it**

In the block editor, add the "Papiro PDF" block and choose your PDF. Or use the shortcode:

`[papiro_pdf url="https://example.com/file.pdf"]`

**Papiro PDF PRO**

Do you want more? [Papiro PDF PRO](https://okmultimedia.com/en/tienda/papiro-pdf-pro) is a separate plugin that adds book view with pages that turn like paper, an Elementor widget, three more styles, your own colours and more. This free plugin is complete by itself and has no limits on the number of PDFs.

[See the demo](https://papiro.okmultimedia.com/scroll-view/)

== Installation ==

1. In Plugins > Add New Plugin, search for "Papiro PDF" or upload the plugin zip.
2. Activate it.
3. Add the "Papiro PDF" block to a page and choose your PDF.

The default options are in the Papiro PDF menu of your dashboard.

== Frequently Asked Questions ==

= Does it work with any PDF? =

Yes, with PDFs from your media library or from a link. A link to another website only works if that website allows it.

= Does it work on phones? =

Yes. The toolbar adapts to small screens.

= Does it hide or protect my PDF? =

No. A PDF shown on a page can always be saved by a visitor.

= Does it connect to other services? =

The plugin itself does not send any data. The optional share bar only opens the chosen social network when a visitor clicks its button.

== Screenshots ==

1. The viewer with the Papyrus style, right inside your page.
2. Page through the document, zoom, print, download or go full screen.
3. Ready for phones: the toolbar adapts to small screens.
4. Add it with the Papiro PDF block and choose its options in the sidebar.
5. Settings page with a live preview of the viewer.

== Changelog ==

= 1.0.2 =
* New: show or hide the document title and the download, print and full screen buttons, in the settings, in each block and in the shortcode.

= 1.0.1 =
* PDF.js updated to 6.5.438.
* Cleaner settings screen.

= 1.0.0 =
* First version.

== Third party libraries ==

This plugin includes PDF.js 6.5.438 by Mozilla (legacy build), under the Apache License 2.0. Source code: https://github.com/mozilla/pdf.js
