Title: PressFlip PDF Viewer
Author: habibnoori
Published: <strong>2026 年 8 月 20 日</strong>
Last modified: 2026 年 8 月 20 日

---

搜索插件

![](https://ps.w.org/pressflip-pdf-viewer/assets/banner-772x250.png?rev=3655152)

![](https://ps.w.org/pressflip-pdf-viewer/assets/icon-256x256.png?rev=3655152)

# PressFlip PDF Viewer

 作者：[habibnoori](https://profiles.wordpress.org/habibnoori/)

[下载](https://downloads.wordpress.org/plugin/pressflip-pdf-viewer.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/pressflip-pdf-viewer/#description)
 * [评价](https://cn.wordpress.org/plugins/pressflip-pdf-viewer/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/pressflip-pdf-viewer/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/pressflip-pdf-viewer/#developers)

 [支持](https://wordpress.org/support/plugin/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.

## 区块

该插件提供了 1 个区块.

 *   PressFlip PDF Viewer

## 安装

 1. Upload the plugin ZIP from **Plugins > Add New Plugin > Upload Plugin**.
 2. Activate **PressFlip PDF Viewer**.
 3. Open **PressFlip PDF Viewer > Add New Viewer**.
 4. Select a PDF from the Media Library or enter a direct public PDF URL.
 5. Publish the viewer and copy its generated shortcode, or insert the PressFlip block
    in the WordPress editor.

## 常见问题

### Can I embed PDFs uploaded to the WordPress Media Library?

Yes. Create a viewer, select **Media Library** as the source, and choose a PDF file.

### Can I embed a PDF from another website?

Yes, provided the URL points directly to a publicly accessible PDF and the remote
server permits browser CORS requests. When the remote host blocks CORS, upload the
file to the WordPress Media Library instead.

### Does the plugin support Elementor?

Yes. Add the generated `[pressflip_pdf]` shortcode with Elementor’s Shortcode widget.

### Can I disable print or download?

Yes. Print, download, navigation, zoom, and toolbar controls can be enabled or disabled
in viewer settings or shortcode attributes.

### Does the viewer use a page-flip animation?

No. PDF pages are displayed with normal vertical scrolling for a familiar document-
reading experience.

## 评价

此插件暂无评价。

## 贡献者及开发者

「PressFlip PDF Viewer」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ habibnoori ](https://profiles.wordpress.org/habibnoori/)

[帮助将「PressFlip PDF Viewer」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/pressflip-pdf-viewer)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/pressflip-pdf-viewer/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/pressflip-pdf-viewer/)，或通过[RSS](https://plugins.trac.wordpress.org/log/pressflip-pdf-viewer/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/pressflip-pdf-viewer/)。

## 更新日志

#### 1.0.0

 * Initial public release.
 * Added responsive PDF.js rendering with vertical scrolling.
 * Added Media Library and external PDF URL sources.
 * Added shortcode and Gutenberg block support.
 * Added page navigation, zoom, Fit to Page, and Fit to Width controls.
 * Added optional print and download controls.
 * Added responsive toolbar compatibility for Elementor and WordPress themes.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**2 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **7.0.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/pressflip-pdf-viewer/)
 * 标签
 * [document viewer](https://cn.wordpress.org/plugins/tags/document-viewer/)[embed pdf](https://cn.wordpress.org/plugins/tags/embed-pdf/)
   [pdf reader](https://cn.wordpress.org/plugins/tags/pdf-reader/)[pdf viewer](https://cn.wordpress.org/plugins/tags/pdf-viewer/)
   [pdfjs](https://cn.wordpress.org/plugins/tags/pdfjs/)
 *  [高级视图](https://cn.wordpress.org/plugins/pressflip-pdf-viewer/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/pressflip-pdf-viewer/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/pressflip-pdf-viewer/reviews/)

## 贡献者

 *   [ habibnoori ](https://profiles.wordpress.org/habibnoori/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/pressflip-pdf-viewer/)