| 开发者 | itsmanzur |
|---|---|
| 更新时间 | 2026年10月31日 18:11 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[flipset file="https://example.com/document.pdf"] and a "Flipset Viewer" Gutenberg block with a Media Library picker and first-page preview..pdf link on its own line to embed it. PDF attachment pages can show the viewer too (a setting).#page=4 deep links and last-page resume on the visitor's device.view="flip").[flipset_library] shortcode and "Flipset Library" block: a grid of your Media Library PDFs with first-page thumbnails, search and pagination; a document opens in place.[flipset id="1"] or with the block.flipset:ready and flipset:pagechange, documented in docs/HOOKS.md.wp flipset status, wp flipset reindex, wp flipset clear_cache.twitter.com/intent/tweet – Terms, Privacyfacebook.com/sharer/sharer.php – Terms, Privacylinkedin.com/sharing/share-offsite – Terms, Privacyapi.whatsapp.com/send – Terms, Privacymailto: link and opens the visitor's own email program; no server is involved.assets/vendor/pdfjs/ as pdf.min.js and pdf.worker.min.js, the official minified build from the pdfjs-dist 3.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.0assets/fonts/inter/ (a Latin-subset, weight-axis-only variable woff2 made from the official font with subset-font, plus OFL.txt) and used only on the Flipset screens in wp-admin. Upstream project: https://github.com/rsms/inter – licence text: https://openfontlicense.orgflipset folder to /wp-content/plugins/, or install the plugin from the Plugins screen.No. Rendering happens in the visitor's browser with the PDF.js library bundled in this plugin. See "External services" above for the few links that open outside sites only when clicked.
Use [flipset file="https://example.com/document.pdf" view="flip"], choose "3D FlipBook" in the View setting of the Flipset Viewer block, or switch the view from the More tools menu in the toolbar. On narrow screens (under 640 px) it shows a single page.
They render the same viewer. Use the block in the editor if you want a file picker and first-page preview. Use [flipset file="..."] in the classic editor, widgets or PHP templates. Elementor, Divi and Beaver Builder have Flipset Viewer and Flipset Library widgets that use the same renderer.
Yes. Build it in Flipset → Shortcode Builder, save it, and use [flipset id="1"] or the block's saved-embed ID. Edit the saved embed later and every page that uses it updates.
Yes. Translate the PDF in the Media Library (WPML Media Translation or Polylang's media option). Flipset swaps the file URL to the current language's attachment. You can also put a different PDF on each language's page. wpml-config.xml ships with the plugin so the block's file and title attributes are translatable.
Flipset excludes its PDF.js scripts from minify, combine and delay in WP Rocket, W3 Total Cache, Autoptimize, LiteSpeed Cache and SiteGround Optimizer, and marks those tags data-no-optimize. If another optimizer still concatenates them, add flipset-viewer.js, pdf.min.js and pdf.worker.min.js to that plugin's exclude list.
The file URL must allow the page origin to fetch it. Cross-origin PDFs need CORS headers (Access-Control-Allow-Origin) on the file host. Files in your own Media Library work without extra setup.
Flipset draws the visible page (or a two-page spread). Continuous scroll renders nearby pages only. Very large files still need to be downloaded once, so keep uploads reasonably sized when you can.
Add [flipset_library] to a page, or insert the Flipset Library block. Visitors see a grid of Media Library PDFs and can open any document in the Flipset viewer without leaving the page. Optional attributes: columns, per_page, orderby (date, title or modified), order (ASC or DESC) and search (true or false).
The first time you open Flipset → Docs & Features, the plugin draws each PDF's first page in your browser (bundled PDF.js) and saves a PNG in the Media Library, parented to that PDF. After that the library reuses the stored image. Thumbnails are not regenerated on every page load.
The PDF has no accessibility tags (its MarkInfo dictionary is not marked). Screen readers may miss headings and reading order. Export a tagged PDF from Word, InDesign or Acrobat. Flipset does not rewrite the file. You can turn the check off under Flipset → Settings → Search and sharing.
Flipset is translation-ready (text domain flipset). Translations are delivered through translate.wordpress.org and installed automatically by WordPress for your site language. Contributions are welcome at https://translate.wordpress.org/projects/wp-plugins/flipset/ .
Yes. Opening Flipset → Docs & Features extracts text from each PDF (the same visit that generates thumbnails) and stores it so posts and pages that embed those files match in the site search. The library search uses that text too. Password-protected PDFs are skipped, and scanned image-only PDFs have no text to find. Turn it off under Flipset → Settings → Search and sharing.
If the page embeds a Flipset PDF and a first-page thumbnail exists, Flipset adds Open Graph and Twitter image tags using that cover. If Yoast SEO, Rank Math or a similar SEO plugin already sets an image, Flipset does not override it. You can disable this under Flipset → Settings.
Yes. Open Flipset → Docs & Features, choose Change cover under a document and pick any image from the Media Library. That image is then used in the library grid, as the Open Graph and Twitter image, and in the structured data. Reset cover goes back to the generated first page. Your image is never deleted by Flipset.
Flipset → Settings has checkboxes for the site default. A single embed can override with [flipset file="..." download="false" print="false"], or use the matching toggles on the block. The hide attribute hides other controls, for example hide="share,fullscreen".
Yes. Use [flipset file="..." page="4"], set Start page on the block, or link to the page with #page=4.
EPUB files are not supported in this version. Flipset focuses on fast, accessible PDF rendering, 3D flipbooks and document libraries.
No, not unless you ask for it. The credit link is off by default. If you would like to support the plugin, tick Flipset → Settings → Credit link and a small "Powered by Flipset" link appears under each viewer.
No. There is no tracking pixel, no remote API and no phone-home. See the Privacy section for what is stored.
Use the support forum at https://wordpress.org/support/plugin/flipset/ or open an issue on GitHub: https://github.com/itsmanzur/flipset/issues
Flipset_Thumbnails::get_cover_id() and get_generated_id(); get_thumbnail_id() now returns the custom cover when one is set.