Linux 软件免费装
Banner图

Sacred PDF Viewer

开发者 sacredwp
更新时间 2026年8月3日 00:08
PHP版本: 7.2 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

pdf viewer pdf pdf embed document viewer highlight

下载

1.0.0

详情介绍:

Sacred PDF Viewer turns any PDF into a clean, in-page reading experience — one shortcode, no add-ons required, and nothing loaded from a third‑party service. Visitors read your documents right on the page instead of downloading a file or being bounced to a browser plugin, and search engines can still read every word inside the PDF. Perfect for study notes, guides, whitepapers, reports, brochures, e‑books, datasheets, question banks and any document you want people to actually read on your site. Why you'll like it Key features Add PDF highlighting with Highlite Pro The highlighting and annotation features are powered by our companion plugin, Highlite Pro. Sacred PDF Viewer works perfectly on its own; if you also install and activate Highlite Pro, a highlight toolbar appears on your PDFs so readers can mark up passages with colours and personal notes — great for course notes, legal documents, research and study material. You choose exactly which user roles are allowed to highlight, and the plugin will even offer a one‑click "Activate Highlite Pro" button once it's installed. Highlite Pro is entirely optional. Usage Embed a PDF with either form: [sacredpdf url="https://example.com/file.pdf"] [sacredpdf]https://example.com/file.pdf[/sacredpdf] Then visit Settings → Sacred PDF Viewer to fine‑tune SEO text extraction, download restrictions and highlighting. Privacy & third‑party libraries Sacred PDF Viewer makes no external requests — it does not contact any third‑party API, CDN or analytics service, and it sets no cookies of its own. Two open‑source libraries are bundled locally and served from your site:

安装:

  1. In your dashboard go to Plugins → Add New, search for "Sacred PDF Viewer", then click Install Now and Activate. (Or upload the sacred-pdf-viewer folder to /wp-content/plugins/ and activate it from the Plugins screen.)
  2. Go to Settings → Sacred PDF Viewer to configure SEO text extraction, download restrictions and highlighting.
  3. Add [sacredpdf url="https://your-site.com/file.pdf"] to any post or page and publish.
  4. (Optional) Install and activate Highlite Pro to enable PDF text highlighting, then pick the allowed roles under Settings → Sacred PDF Viewer → Highlight & Annotate.

屏幕截图:

  • A PDF opened inside a "Notes" tab, reading in-page with no download or redirect.
  • Settings → Sacred PDF Viewer: the Viewer, SEO & Text, Downloads and Highlight & Annotate tabs.
  • The SEO & Text tab, with one‑click "Extract text for all PDFs now" so every embedded PDF is crawlable.
  • The Downloads tab: per‑role control to keep documents view‑only.
  • The Highlight & Annotate tab — choose exactly which roles can highlight and annotate PDFs (powered by Highlite Pro).

升级注意事项:

1.0.0 Initial release of Sacred PDF Viewer.

常见问题:

Does the PDF text get indexed by search engines?

Yes — as long as "Embed PDF text" is enabled (it is by default). The extracted text is added as the viewer's accessible fallback: invisible to visitors, readable by crawlers. If your server has pdftotext (poppler‑utils) the text is extracted server‑side for best quality; otherwise the plugin extracts it in the browser with PDF.js and caches it automatically when you save a post that contains a PDF.

Can I stop people downloading the PDF?

You can hide the Download button, disable the right‑click "save image" option and remove the download links for the roles you choose. Please note that a browser‑rendered PDF is still fetched to the visitor's device, so a determined user could retrieve it with developer tools. Truly un‑bypassable blocking would require streaming the file through an access‑checked proxy — this plugin focuses on removing the easy download paths for the audiences you select.

Does the plugin call any external service?

No. Every script is bundled with the plugin and served from your own site. There are no API keys, no CDNs and no tracking.

What do I need for highlighting?

The companion Highlite Pro plugin must be installed and activated. Then choose the roles allowed to highlight in Settings → Sacred PDF Viewer → Highlight & Annotate. Sacred PDF Viewer works fully without it — highlighting is simply an optional add‑on.

Which PDFs can I embed?

Any PDF reachable by URL — typically one you've uploaded to your Media Library, but any publicly accessible PDF link works.

Will it slow down my site?

The viewer scripts load only on pages that actually contain a [sacredpdf] shortcode, so pages without a PDF are unaffected.

更新日志:

1.0.0