Flipset – PDF Viewer, PDF Embed, 3D Flipbook & Document Library
Embed PDFs with a fast PDF viewer, 3D flipbook and document library.
Install in
Flipset embeds PDF documents in posts, pages and widgets with a PDF.js build that ships inside the plugin. Use a shortcode, a Gutenberg block, a page-builder widget, or paste a PDF link on its own line. There is no CDN, no external service and no API key: rendering happens in the visitor’s browser, from files on your own site.
👉 Live demo · Documentation · Playground · Support
At a glance
- What it is: a free WordPress PDF viewer, PDF embed plugin, 3D flipbook and PDF document library.
- How to add a PDF: shortcode
[flipset file="https://example.com/document.pdf"], the “Flipset Viewer” block, a page-builder widget, or a PDF link pasted on its own line. - View modes: single page, continuous scroll, two-page spread, 3D flipbook (
view="page|scroll|spread|flip"). - Document library:
[flipset_library]– a grid or list of your Media Library PDFs with search, sort and pagination. - Works with: Gutenberg, Elementor, Divi, Beaver Builder, WPML, Polylang, WP Rocket, W3 Total Cache, Autoptimize, LiteSpeed Cache, SiteGround Optimizer.
- Privacy: no CDN, no external requests, no cookies, no tracking. PDF.js is bundled.
- Security: only
httpandhttpsPDF addresses are accepted, PDF-embedded font code is not run, and there is a private way to report vulnerabilities. - SEO: PDF text is searchable in WordPress search; Open Graph / Twitter cover image; Schema.org
DigitalDocument; plain PDF link when JavaScript is off. - Accessibility: full keyboard control, screen reader page announcements, reduced-motion support, untagged-PDF check.
- Requirements: WordPress 6.0+, PHP 7.4+.
Quick start
- Install and activate Flipset.
- Embed one PDF:
[flipset file="https://example.com/document.pdf"] - Open it as a 3D flipbook:
[flipset file="https://example.com/document.pdf" view="flip"] - Show every PDF in your Media Library:
[flipset_library] - Prefer clicks to code? Use the “Flipset Viewer” or “Flipset Library” block, or Flipset Shortcode Builder with its live preview.
Common use cases
- Brochures, catalogues and menus – a 3D flipbook that opens on the first page.
- Reports, white papers and e-books – a searchable PDF reader with a document outline and last-page resume.
- Manuals, forms and price lists – a PDF document library visitors can search and sort.
- Course material and handouts – an accessible PDF viewer with download and print switched on or off per embed.
- Magazines and newsletters – a flipbook in spread view with a share dialog.
Why Flipset?
- Fast and local – bundled PDF.js, nothing loaded from a CDN, optional lazy loading, and a poster mode that loads the viewer only when a visitor opens the document.
- Accessible – keyboard controls, screen reader page announcements, and a check that flags PDFs without accessibility tags.
- 3D flipbook – page, scroll, spread and flipbook views, all in the free plugin.
- Searchable PDF text – WordPress site search can find words inside your embedded PDFs.
- Safe by default – only
httpandhttpsPDF addresses are accepted, and PDFs cannot run code from their embedded fonts. - Works where you build – Gutenberg, Elementor, Divi and Beaver Builder.
- Translation-ready – WPML and Polylang support; translations come from translate.wordpress.org.
Features
Viewer
- Shortcode
[flipset file="https://example.com/document.pdf"]and a “Flipset Viewer” Gutenberg block with a Media Library picker and first-page preview. - Paste a direct
.pdflink on its own line to embed it. PDF attachment pages can show the viewer too (a setting). - Zoom, fit page or width, rotate, find with match count, page thumbnails, document outline, hand tool, fullscreen, presentation mode, print and download.
- Selectable text and working links inside the PDF; password-protected PDFs ask for the password.
- Light, dark and sepia reading themes.
- Start page,
#page=4deep links and last-page resume on the visitor’s device. - Poster mode: show the cover and an Open button; PDF.js (about 1.5 MB) and the PDF load only on click. Per embed (
poster="true") or as a site default. - Show or hide download, print, search, share and other controls per embed or site-wide.
- Share dialog with X, Facebook, LinkedIn, WhatsApp, email and copy link.
- Clear message with a direct link when a PDF on another domain blocks cross-origin access (CORS).
Flipbook and view modes
- Single page, continuous scroll, two-page spread and 3D flipbook (
view="flip"). - Realistic page curl with a short page-turn sound generated in the browser, no audio files.
- Spread and flipbook fall back to a single page on narrow screens.
- Touch support: pinch to zoom and swipe to turn pages.
Document library
[flipset_library]shortcode and “Flipset Library” block: a grid or list of your Media Library PDFs with first-page thumbnails, search, an optional sort menu and pagination; a document opens in place.- Choose what the library shows: hide any PDF with “Hide from library” in Flipset Docs & Features, list only the PDFs you pick (
ids, or “Only these PDFs” in the block), or leave some out (exclude). - Flipset Docs & Features lists your PDFs with preview, search-index status and accessibility status, and copies shortcodes.
- Shortcode Builder with live preview and one-click presets; save an embed once and reuse it as
[flipset id="1"]or with the block.
SEO and search
- PDF text is extracted in your browser from Flipset Docs & Features and stored on your site, so posts and pages that embed a PDF match in WordPress search.
- Open Graph and Twitter image from the PDF’s first page, unless an SEO plugin already provides one.
- Schema.org DigitalDocument structured data.
- A plain link to the PDF is shown when JavaScript is off.
Accessibility
- Labelled toolbar buttons, visible keyboard focus and full keyboard control.
- Page changes are announced to screen readers; reduced-motion preference is respected.
- Flipset Docs & Features marks PDFs that are not tagged for accessibility.
Security
- A PDF address must be
http,httpsor a site-relative path;javascript:,data:,file:and other schemes are refused everywhere, including in filters and saved embeds. - The bundled PDF.js runs with
isEvalSupported: false, so a PDF cannot run code generated from its fonts. - Admin actions check a nonce and the user’s capability.
- Vulnerabilities can be reported privately: https://github.com/itsmanzur/flipset/security/policy
Builders and integrations
- Native Elementor, Divi and Beaver Builder widgets for the viewer and the library.
- WPML and Polylang: a translated Media Library PDF is swapped in for the current language.
- Script exclusions for WP Rocket, W3 Total Cache, Autoptimize, LiteSpeed Cache and SiteGround Optimizer, so PDF.js is not minified, combined or delayed.
Developer friendly
- Public filters and actions, and DOM events such as
flipset:readyandflipset:pagechange, documented indocs/HOOKS.md. - WP-CLI:
wp flipset status,wp flipset reindex,wp flipset clear_cache. - Clean uninstall: settings and Flipset data are removed, your media is kept.
Shortcode reference
[flipset] – PDF viewer. Only file (or id) is required.
file– URL of the PDF.id– ID of an embed saved in Flipset Shortcode Builder.view–page(default),scroll,spreadorflip(3D flipbook).page– start page (default1).title– caption for the viewer, also used as its accessible name.width,height– a number with a CSS unit, for example100%or700px(defaults come from Flipset Settings).theme–light,darkorsepia.download,print,search,share,fullscreen,presentation,shortcuts,theme_btn–trueorfalse; leave out to use the site setting.hide– comma-separated controls to hide, for examplehide="share,fullscreen".loading–lazyoreager.hash–trueorfalsefor#page=deep links.resume–trueorfalseto remember the last page read.poster–trueshows the cover and an Open button and loads the viewer only on click;falseturns it off. Leave out to use Flipset Settings Poster mode.
Example: [flipset file="https://example.com/catalogue.pdf" view="flip" theme="dark" height="700px" download="false"]
[flipset_library] – PDF document library. No attributes are required.
columns– number of grid columns (default3).per_page– documents per page (default12).orderby–date(default),titleormodified.order–DESC(default) orASC.search–true(default) orfalsefor the search field.sort_control–trueshows a Newest / Oldest / Title A–Z / Title Z–A menu (defaultfalse).layout–grid(default) orlist.layout_toggle–trueshows a grid / list switch (defaultfalse).ids– list only these PDFs, by Media Library ID, for exampleids="12,34". Named PDFs are listed even when hidden. Leave empty to list every PDF that is not hidden.exclude– leave these PDFs out, for exampleexclude="56".
Example: [flipset_library columns="4" per_page="8" sort_control="true" layout_toggle="true"]
Full reference with every value: https://flipset.thereadscope.com/flipset-docs/shortcode/
Extending Flipset
Flipset exposes public WordPress filters and actions (see Developer Hooks below) so add-ons and themes can extend the viewer without modifying core code. No paid features are sold or locked in this plugin.
External services
Flipset does not contact any server on its own. It has no analytics, no licence check, no update ping and no remote scripts, fonts or images. The visitor’s browser opens an outside address only when the visitor clicks one of these links:
- Share dialog (X, Facebook, LinkedIn, WhatsApp) – the “Share” button in the viewer builds share links. Nothing is sent until the visitor clicks one; then the address of the current page (optionally with the page number) and, for X and WhatsApp, the document title are passed to that network in the link:
- Email share uses a
mailto:link and opens the visitor’s own email program; no server is involved. - “Powered by Flipset” credit – off by default. If an administrator turns it on under Flipset Settings Credit link, a normal link to https://flipset.thereadscope.com is shown under each viewer. The plugin sends nothing there; the visitor’s browser makes an ordinary page request only if the link is clicked.
- PDFs hosted on another domain – if you embed a PDF from another website, the visitor’s browser downloads it directly from that host, which receives the visitor’s IP address. PDFs in your own Media Library are served by your own site.
Third-party libraries
- PDF.js 3.11.174 by Mozilla – Apache License 2.0. Bundled in
assets/vendor/pdfjs/aspdf.min.jsandpdf.worker.min.js, the official minified build from thepdfjs-dist3.11.174 release. Upstream project: https://github.com/mozilla/pdf.js – the human-readable source for this version is at https://github.com/mozilla/pdf.js/tree/v3.11.174. Licence text: https://www.apache.org/licenses/LICENSE-2.0 - Inter by The Inter Project Authors – SIL Open Font License 1.1. Bundled in
assets/fonts/inter/(a Latin-subset, weight-axis-only variablewoff2made from the official font withsubset-font, plusOFL.txt) and used only on the Flipset screens in wp-admin. Upstream project: https://github.com/rsms/inter – licence text: https://openfontlicense.org - No other third-party library or font is bundled. The plugin’s own JavaScript and CSS are shipped unminified.
Developer Hooks
Add-ons can extend the viewer through public WordPress filters and actions. The full list, parameters and copy-paste examples are in docs/HOOKS.md in the GitHub repository: https://github.com/itsmanzur/flipset/blob/main/docs/HOOKS.md – also online at https://flipset.thereadscope.com/flipset-docs/hooks/ (DOM events: https://flipset.thereadscope.com/flipset-docs/dom-events-js/).
Source code and minified files
Flipset loads minified scripts and stylesheets (*.min.js, *.min.css). The readable source of every one of them ships in the same folder (for example assets/js/flipset-viewer.js next to assets/js/flipset-viewer.min.js), with a source map, and is on GitHub: https://github.com/itsmanzur/flipset. The minified files are built with esbuild by npm run build (bin/build-assets.js). With define( 'SCRIPT_DEBUG', true ); in wp-config.php, WordPress loads the readable files instead. The bundled PDF.js in assets/vendor/pdfjs is Mozilla’s own release build.
Privacy
Flipset does not collect any visitor data, sets no cookies, and has no analytics or tracking. The plugin has no remote requests of its own (see “External services”).
What the plugin stores on your site:
- Settings – one option,
flipset_settings. - Saved embeds – a private custom post type,
flipset_embed, with the embed’s configuration in post meta. - PDF data – post meta on your PDF attachments (extracted text, page count, indexed flag, accessibility flag, thumbnail ID) and a combined search index on posts and pages that embed a PDF.
- Thumbnails – first-page PNG images generated in your browser and saved in the Media Library.
- Library visibility – a
_flipset_library_hiddenflag on each PDF you hide from the library. - Admin notice state – one user meta value per administrator who dismisses the welcome notice or the library notice, a short-lived transient used for the redirect after activation, and one option,
flipset_welcome_seen, that records that the Welcome screen was shown so the redirect happens only once.
In the visitor’s own browser, Flipset uses localStorage (not cookies) to remember the last page read (flipset:page:<file URL>), the chosen reading theme (flipset_theme) and the chosen library layout, grid or list (flipset-library-layout). These values never leave the browser, and the visitor can clear them at any time.
The share feature only builds links; it contacts no one until the visitor clicks a link.
Deleting the plugin from the Plugins screen removes the settings, saved embeds, Flipset post and user meta, the transient and the thumbnails it generated. Your uploaded PDFs and other media are kept.
Credits
Flipset is developed and maintained by itsmanzur.
- Website and live demo: https://flipset.thereadscope.com
- Documentation: https://flipset.thereadscope.com/flipset-docs/
- Source code: https://github.com/itsmanzur/flipset
- Support forum: https://wordpress.org/support/plugin/flipset/
- Bug reports: https://github.com/itsmanzur/flipset/issues
- Security issues (private): https://github.com/itsmanzur/flipset/security/policy
- Help translate: https://translate.wordpress.org/projects/wp-plugins/flipset/
- PDF.js by Mozilla (Apache-2.0).
Written by Joobi from the project's own listing. See the source page
1.2.0
- New: hide any PDF from the document library. Choose “Hide from library” under the file in Flipset Docs & Features; it is left out of every library that lists all PDFs, including library search. Existing sites keep listing every PDF until a file is hidden.
- New:
idslists only the PDFs you name ([flipset_library ids="12,34"]), andexcludeleaves some out. The Flipset Library block has a matching “Only these PDFs” picker. - New: a Welcome screen under Flipset Welcome, with four ways to embed a PDF, the main features, common questions, support links, the latest changes from this readme and the other free plugins by The Readscope (Install opens WordPress’s own plugin window). It opens once after the first activation; bulk, network and WP-CLI activations and later reactivations do not redirect. Nothing on it is loaded from another site.
- New: a one-time notice on the Flipset screens explains that the library lists every Media Library PDF and how to change that.
- New: poster mode. A viewer can show the PDF’s cover, its title and an Open button instead of loading straight away; PDF.js and the PDF download only when a visitor clicks. Turn it on per embed (
poster="true", the Shortcode Builder, the Flipset Viewer block, or the Elementor, Divi and Beaver Builder widgets) or for the whole site under Flipset Settings. Without JavaScript the button opens the PDF directly. - Improved: faster first page. On a post or page with a viewer that loads straight away, the browser starts fetching PDF.js from the page head instead of waiting for the footer, and fetches the PDF.js worker while idle. The first poster’s cover image is fetched with high priority; later covers are lazy-loaded.
- Improved: page 1 of a large PDF shows sooner. The viewer now downloads only the parts of the file it needs (HTTP range requests) instead of streaming the whole file at the same time; on a slow connection a 1 MB PDF showed its first page in about half the time. Servers without range support still get a full download. The readme FAQ explains how to check your server.
- Improved: smaller downloads. Scripts and stylesheets now ship minified with source maps (built by esbuild), about 37% smaller in total; the viewer script goes from 94 KB to 46 KB. The readable files ship next to them and load when
SCRIPT_DEBUGis on. - Improved: the flipbook animation adapts to the device. It times each page turn; when frames drop it switches from the 16-strip bending page to 8 strips, then to a single page turned by the browser’s own animation engine, which stays smooth on a busy phone. Phones with little memory start at 8 strips. The choice lasts for the browser session.
- Improved: lighter page turns. Pages the reader has already skipped past are no longer drawn: pressing Next quickly through seven pages now draws one page instead of seven.
- Improved: less memory on phones. Pages are drawn at no more than twice the screen’s pixel density, with a size limit per page (smaller on phones and tablets), so zooming in on a large page no longer blanks it on iOS Safari or crashes the tab.
- Improved: the next page (or spread) is prepared while the browser is idle, so turning the page is quicker. Skipped on connections with Data Saver on or 2G.
- Improved: the library stylesheet now loads only on pages that show a library, not on every page.
- Fixed: on an HTTPS page, a PDF from your own site saved with an
http://address (for example from before the site moved to HTTPS) showed a cross-origin error. Flipset now loads it over HTTPS. - Fixed: Flipset widgets did not load or start in the Elementor editor preview.
- Fixed: on classic themes and Elementor pages the page jumped while a viewer or library loaded, because its stylesheet arrived in the page footer. It now loads in the page head. On a test page with five viewers the layout shift score fell from 0.44 to under 0.05.
- Fixed: library covers could fall short of their box when the theme sets
height: autoon content images. - Developer: new
flipset/poster_image_id,flipset/resource_hints,flipset/progressive_loadingandflipset/head_stylesfilters andwindow.FlipsetPoster.init(). - Developer: new
flipset/welcome/sections,flipset/welcome/hero_actionsandflipset/faq_itemsfilters and theflipset/welcome/after_heroaction, so add-ons can add to the Welcome screen.
1.1.3
- Security: PDFs can no longer run generated code from their embedded fonts. Flipset now tells the bundled PDF.js not to use it (
isEvalSupported: false) in the viewer, the thumbnail generator and the block editor preview. - Security: a PDF address must be
http,httpsor a site-relative path.javascript:,data:,file:and other schemes are refused in shortcodes, blocks, saved embeds and filters. - Improved: PDF text sent from the browser for indexing is cut to the size limit before it is processed, and the stored page count is capped.
- Improved: Flipset Docs & Features now documents the library’s
order,sort_control,layoutandlayout_togglesettings, the custom cover and sort and list features, and which PDF addresses are accepted. - Improved: this readme has a Security section and answers for refused PDF links and for reporting a security problem.
- Added: a security policy (
SECURITY.mdon GitHub) with a private way to report vulnerabilities. - Developer: new
Flipset_Viewer::sanitize_file_url(); tests for the address rules and forisEvalSupported; a PHPStan job (report only) in CI;docs/PDFJS.mdtracks the bundled PDF.js version and advisories.
1.1.2
- New: sort menu for the document library (
sort_control="true"): Newest, Oldest, Title A–Z and Title Z–A. It re-sorts in place, keeps your search, goes back to page 1 and tells screen readers what changed. - New: list layout for the library (
layout="list") and an optional grid / list switch for visitors (layout_toggle="true"). The visitor’s choice is remembered in their own browser; nothing is stored on your site. - New: library cards show the page count (“PDF · 12 pages · 198.9 KB”) for PDFs whose text has been indexed in Flipset Docs & Features. Nothing is shown when no page count is stored.
- New: the Flipset Library block has settings for the sort menu, the layout and the layout switch. Existing pages and blocks are unchanged unless you turn them on.
- Improved: code documentation and internal quality (every class and method is documented; the plugin passes its coding-standards check).
- Improved: this readme now has quick links, an at-a-glance summary, a quick start, a shortcode reference and more questions answered.
- Fixed: an unrecognised value in an on/off shortcode or block attribute (for example
search="maybe") fell back to “off” in 1.1.1; it now falls back to that attribute’s default again.
1.1.1
- Improved: PDF library design. Cards have a consistent 3:4 cover, a two-line title and a muted “PDF · size” line; the grid follows the
columnssetting and drops to 2 columns on tablets and 1 on phones; clearer keyboard focus, hover that respects “reduce motion”, RTL support, theme-friendly colours with AA contrast, a loading bar and a “No documents found” state. - Improved: opening a document in the library moves focus into the viewer, and Esc closes it and returns focus to the card. After searching or changing page, focus stays on the library instead of jumping to the top of the page.
- Improved: the viewer says “Still loading…” if a very large file or a slow connection stalls for 20 seconds, instead of staying blank.
- Improved: toolbar buttons are 40px on touch tablets, not only on phones.
- Fixed: resizing or zooming while a PDF was still loading could stop a page from rendering (“Cannot use the same canvas…”).
- Fixed: a library search with no results reloaded the whole page instead of updating in place, and a new search stayed on the old page number.
- Fixed: the Shortcode Builder made the page scroll sideways on phones, and its Copy / Create test page buttons ran off the card.
- Fixed: admin text in Bengali and other non-Latin languages now falls back to a system font that has those characters.
1.1.0
- New: choose your own cover image for any PDF. In Flipset Docs & Features, use “Change cover” (and “Reset cover” to go back to the first page). The cover is used in the document library, the Open Graph and Twitter image, and the structured data.
- Improved: cleaner admin screens. One type scale, the Inter font bundled with the plugin (no request leaves your site), consistent weights and spacing, and better text contrast.
- Improved: Shortcode Builder tab labels no longer get cut off, and the cards on the Features screen line up.
- Fixed: tagged PDFs were reported as “Untagged” in the accessibility check.
- Added: an intro video on the plugin page.
- Developer: new
Flipset_Thumbnails::get_cover_id()andget_generated_id();get_thumbnail_id()now returns the custom cover when one is set.
1.0.0
- Initial release.
- PDF viewer with a bundled PDF.js build, shortcode, Gutenberg block and direct PDF URL embed.
- Page, continuous scroll, two-page spread and 3D flipbook views; light, dark and sepia themes.
- Document library shortcode and block, Shortcode Builder with saved embeds, and a Docs & Features screen.
- PDF text search in WordPress search, Open Graph image and structured data.
- Accessibility: keyboard control, screen reader announcements and tagged-PDF check.
- Elementor, Divi and Beaver Builder widgets; WPML and Polylang support; translation-ready.
- Public hooks and WP-CLI commands for developers.
Follow this listing's changes (Atom feed)