The WordPress PDF Viewer plugin, compatible with WordPress Download Manager Pro, enhances user experience by allowing visitors to preview PDF documents before downloading them. Unlike the default viewer that uses Google Doc Viewer, which can only preview public PDFs, this plugin enables previews of protected or members-only documents as well.
Here’s how you can use it:
- Installation Steps:
- Download the plugin from the premium download area.
- Install and activate it on your WordPress site.
- Single PDF Preview:
- To display a preview of a single PDF document, use the template tag [doc_preview] within your page template. This tag will render a preview of the specified PDF.
- Password Protected PDF View:
- If you have multiple PDFs attached to a package, utilize the template tag [pdf_gallery]. This tag helps to showcase previews of all PDF documents attached to the package in a gallery view.
By incorporating the WordPress PDF Viewer plugin, you enable your site visitors to preview PDF files before downloading them, offering a more user-friendly and informative experience. Whether it’s a single document or multiple PDFs within a package, these template tags simplify the process of showcasing previews and enhancing accessibility to the downloadable content on your site.