该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

PDF.js Shortcode

描述

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]

安装

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

评价

2016年9月3日
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.
阅读所有2条评价

贡献者及开发者

“PDF.js Shortcode” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“PDF.js Shortcode”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志