This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

PDF.js Shortcode

Description

Add Mozilla’s PDF.js viewer into your pages and posts with a simple shortcode. PDF.js is a javascript library for displaying pdf pages within browsers.

Shortcode Syntax:

[pdfjs-shortcode pdf_width=100% pdf_height=500px pdf_download=true pdf_print=true pdf_openfile=false]http://www.domain.com/test.pdf[/pdfjs-shortcode]

Installation

1)Download from the WordPress Plugin Repository
2)Upload and expand the archive into your sites wp-content/plugins directory

Reviews

Ọwẹ́wẹ̀ 3, 2016
It works like a charm, even on multilingual sites. This does not happen with the old plugin called “PDF.js Viewer Shortcode” which has not been updated for two years.
Read all 2 reviews

Contributors & Developers

“PDF.js Shortcode” is open source software. The following people have contributed to this plugin.

Contributors

Translate “PDF.js Shortcode” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.