BACK TO DIRECTORY

Thanks to Imran Siddiq (https://www.youtube.com/@websquadron/). This code was adapted from his PDF Viewer code.
Continuous PDF Viewer is a high-performance, WordPress-native PDF viewer powered by PDF.js. Version 2.1 introduces a completely rebuilt rendering engine optimized for 100% continuous scrolling, bringing a modern, native-app reading experience to your WordPress site.
Key Features
- Continuous Scroll Engine: Pages stack seamlessly for smooth, vertical reading. Highly optimized sequential rendering prevents browser lag, even on large documents.
- Smart Page Tracking: An intelligent viewport observer automatically detects which page you are reading and instantly updates the toolbar and sidebar thumbnails as you scroll.
- Advanced Search & Highlight: Pinpoint search functionality that calculates the exact pixel location of your search terms and smoothly scrolls them directly into the center of your screen.
- Native Fullscreen Mode: Utilizes the browser’s native Fullscreen API for distraction-free reading, featuring “scroll memory” to keep your place when entering or exiting fullscreen.
- Gutenberg Block Integration: A native WordPress block with a click-to-select placeholder UI and seamless Media Library integration.
- Live Shortcode Generator: A dedicated admin tools page (Tools > Continuous PDF Viewer) that lets you visually configure colors, dimensions, and toolbar features while generating a live shortcode.
Screenshots

The Continuous PDF Viewer renderibng a document on the frontend

The Gutenberg block for the Continuous PDF Viewer
Plugin Details
Active Installs
10Total Downloads
1,210Version
2.1.20Requires WP
5.8Requires PHP
—Tested Up To
7.1Added
2026-04-28Last Updated
2026-09-08 12:43am GMTRatings
5
0
4
0
3
0
2
1
1
0