[WordPress] 外掛分享: PressFlip PDF Viewer

首頁外掛目錄 › PressFlip PDF Viewer
WordPress 外掛 PressFlip PDF Viewer 的封面圖片
全新外掛
安裝啟用
尚無評分
11 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.0 上架:2026-08-19

內容簡介

PressFlip PDF Viewer 是一款響應式的 WordPress PDF 檢視器,能夠直接在文章、頁面和小工具中嵌入 PDF 文件。它提供多種功能,讓訪客能夠輕鬆閱讀和操作 PDF 文件,提升網站的使用體驗。

【主要功能】
• 響應式 PDF 檢視器,支援垂直翻頁
• 支援 WordPress 媒體庫及外部 PDF URL
• 提供 Gutenberg PDF 檢視區塊及彈性短碼
• 前後翻頁導航,顯示當前與總頁數
• 支援縮放、重置及適合頁面或寬度的控制
• 可選擇的 PDF 下載與列印按鈕

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「PressFlip PDF Viewer」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

PressFlip PDF Viewer is a responsive WordPress PDF viewer for embedding PDF documents directly inside posts, pages, custom post types, widgets, and templates.
The plugin uses a locally bundled copy of Mozilla PDF.js to display documents with normal vertical scrolling. Visitors can read multi-page PDFs, move between pages, adjust zoom, use Fit to Page or Fit to Width, print the document, or download the original PDF when those controls are enabled.
Create reusable PDF viewers from the WordPress Media Library or a direct public PDF URL. Add a viewer with the PressFlip Gutenberg block or the [pressflip_pdf] shortcode. The interface is responsive and supports multiple independent PDF viewers on the same page.
Main Features

Responsive PDF viewer with vertical page scrolling.
WordPress Media Library and external PDF URL support.
Gutenberg PDF viewer block and flexible shortcode.
Previous and next page navigation with current and total page numbers.
Zoom in, zoom out, reset, Fit to Page, and Fit to Width controls.
Optional PDF download and print buttons.
Mobile-friendly toolbar and keyboard navigation.
Multiple PDF viewers can run independently on one page.
Saved viewer settings for consistent document embeds.
No page-flip animation, tracking, paid service, or iframe-based primary renderer.

Shortcode Examples
Embed a saved viewer:
[pressflip_pdf id="123"]

Embed a public PDF URL directly:
[pressflip_pdf url="https://example.com/document.pdf"]

Override selected viewer settings:
[pressflip_pdf id="123" width="100%" height="750px" zoom="110" download="yes" print="yes"]

Third-Party Libraries
PressFlip PDF Viewer includes Mozilla PDF.js version 3.2.146.

Library: PDF.js
Copyright: Mozilla and PDF.js contributors
License: Apache License 2.0
Runtime files: assets/pdfjs/pdf.min.js and assets/pdfjs/pdf.worker.min.js
Human-readable upstream source: https://github.com/mozilla/pdf.js/tree/v3.2.146
Upstream build instructions: https://github.com/mozilla/pdf.js/tree/v3.2.146#building-pdfjs

The PDF.js display library and worker are bundled locally. No executable PDF viewer code is loaded from a third-party CDN.
Source Code
PressFlip’s own JavaScript and CSS are distributed in human-readable form and require no build step:

admin/js/pressflip-admin.js
public/js/pressflip-viewer.js
blocks/pdf-viewer/index.js
admin/css/pressflip-admin.css
public/css/pressflip-viewer.css
blocks/pdf-viewer/editor.css
blocks/pdf-viewer/style.css

The minified third-party PDF.js runtime files are generated by the upstream Mozilla PDF.js project. Their maintained source code and build instructions are linked in the Third-Party Libraries section above.
Privacy
PDFs render in the visitor’s browser. PressFlip PDF Viewer does not collect viewing analytics or send document data to a tracking service. In external URL mode, the visitor’s browser connects directly to the third-party host serving the PDF.

延伸相關外掛

文章
Filter
Mastodon