跳到内容

MaxtDesign PDF Viewer

v1.0.2

MaxtDesign · 2025年12月29日 上架

The fastest PDF viewer for WordPress. Sub-200ms load times, zero layout shift, and a beautiful reading experience.

正在使用
10 以下
评分
暂无
累计下载
764
最近更新
2026年9月14日
需要 WordPress 6.4+已测试到 7.0.9PHP 8.1+

贡献者

截图

PDF viewer with preview image and activation button
PDF viewer with preview image and activation button
Full interactive viewer with toolbar
Full interactive viewer with toolbar
Gutenberg block in the editor
Gutenberg block in the editor
Settings page - General tab
Settings page - General tab
Settings page - Server Info tab
Settings page - Server Info tab

MaxtDesign PDF Viewer is a performance-focused PDF embedding solution for WordPress. Unlike other PDF plugins that load heavy JavaScript libraries upfront, this plugin uses a smart lazy-loading approach that keeps your pages fast.

Key Features

  • Instant Preview – Server-generated WebP preview images display immediately
  • Zero Layout Shift – CSS aspect-ratio reserves exact space before content loads
  • Lazy Loading – Full PDF.js viewer loads only when needed
  • Gutenberg Block – Native block editor integration
  • Shortcode Support – Works in classic editor and widgets
  • Keyboard Navigation – Full keyboard and screen reader accessibility
  • Mobile Optimized – Touch gestures for page navigation and zoom

Performance

  • Initial page load: < 10KB JavaScript
  • First paint: < 200ms
  • Full viewer: Loads on-demand
  • Preview images: Optimized WebP format

How It Works

  1. Upload a PDF to your media library
  2. The plugin automatically extracts the first page as a WebP preview
  3. Insert the PDF using the Gutenberg block or shortcode
  4. Visitors see an instant preview image
  5. Clicking “View Document” loads the interactive PDF.js viewer

Requirements

For automatic preview generation, your server needs one of:

  • ImageMagick with PDF support (recommended)
  • Ghostscript

The plugin will detect available options and use the best method automatically.

Shortcode Usage

[pdf_viewer id=”123″]

Attributes:

  • id (required) – Attachment ID of the PDF
  • width – CSS width value (default: 100%)
  • load – When to load viewer: click, visible, immediate (default: click)
  • toolbar – Show toolbar: true/false (default: true)

Security

Found a security issue? Please report it privately to security@maxtdesign.com rather than posting
in a public support thread. We aim to acknowledge reports within 3 business days and will agree a
disclosure timeline with you.

Please include the plugin version, steps to reproduce, and the impact as you understand it. We will
credit you in the changelog unless you would rather stay anonymous, and we ask that you do not test
against a site you do not own.

This plugin is published on WordPress.org by the account slaacr, which is MaxtDesign. The account
name predates the brand and WordPress.org does not support renaming accounts, so the two names
differ. Anything published under slaacr is ours.

Privacy

This plugin:

  • Does not collect any personal data
  • Does not send data to external services
  • Stores preview images locally on your server
  • Uses PDF.js library loaded from your own server

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums