Super simple PDF viewer plugin for Wordpress using pdf.js and the Transient API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
pdf.js
pdf.worker.js
pdfviewer.PNG
viewer.php

README.md

README

View a Demo.

Note: This plugin requires a theme that uses bootstrap and fontawesome.

Alternative, lightweight user interface for PDF.js simple example as a wordpress plugin. Leverages Wordpress' Transients API to store the pdf url and load it up quickly. CAn be embedded in a modal or directly on page with shortcode below. URL gets stored as a transient for 24 hours.

uses shortcode [bpdf url="path/to/file.pdf"]

TODO

  • add zoom and scroll
  • add search

pdfviewer