[WordPress] 外掛分享: PDF Embedder

WordPress 外掛 PDF Embedder 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「PDF Embedder」是 2015-01-20 上架。
  • 目前有 300000 個安裝啟用數。
  • 上一次更新是 2025-04-25,距離現在已有 8 天。
  • 外掛最低要求 WordPress 6.1 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.2 以上。
  • 有 358 人給過評分。
  • 論壇上目前有 14 個提問,問題解答率 93% ,不低,算是個很有心解決問題的開發者團隊了!

外掛協作開發者

smub | slaffik | jaredatch |

外掛標籤

pdf | block | embed pdf | pdf viewer | pdf document |

內容簡介

這款外掛程式可以上傳 PDF 檔案,並將它們直接嵌入到您網站的文章和頁面中。添加圖像一樣簡單!您的 PDF 檔案會自動調整到其自然大小和形狀。您還可以指定寬度,高度會自動計算出正確的值。我們的 PDF 嵌入器外掛程式是完全響應式的,因此嵌入的 PDF 將在任何設備上都看起來很完美。另外,每當瀏覽器尺寸變化時,PDF 嵌入器也會自動調整大小。

這款外掛程式使用 JavaScript 嵌入 PDF 檔案的獨特方法,不使用 iframe 或第三方服務。這使得您對文件外觀有很大的靈活性。

這個 PDF 閱讀器可以透過上下翻頁和縮放按鈕來瀏覽文件,如果 PDF 檔案中的某些區域對於您的螢幕來說太小,也可以使用縮放按鈕。

您的 PDF 檔案會嵌入到現有的 WordPress 頁面中,所以我們有完全控制外觀的權限,所有的 JavaScript 和其他檔案都是由您自己的伺服器提供 (而非由 Google 或其他任何可能無法保證其可靠性的第三方提供)。這意味著您的 PDF 檔案將快速加載,不會有任何速度懲罰。

其他 PDF 嵌入器外掛程式會將 PDF 檔案插入到 iframe 中,這意味著他們無法對大小進行靈活調整。我們的外掛程式沒有這個問題,這對所有設備的總體閱讀體驗非常有益。

在免費版本中,沒有為用戶提供下載 PDF 的按鈕,但是在進階版本中提供了下載選項,以及其他令人驚嘆的功能。

另一個進階功能是,您 PDF 中的超鏈結是可點擊的。在免費版本中,連結無法點擊。

使用方法

安裝並啟用後,從任何頁面或文章中點擊添加媒體,就像添加圖像一樣,只不過要拖放 PDF 檔案。

當您插入到文章中時,它會以圖片的方式出現在編輯器中,如下所示的“shortcode”格式:

[pdf-embedder url='https://mysite.com/wp-content/uploads/2015/01/Plan-Summary.pdf']

您可以透過設定 -> PDF Embedder 更改預設外觀,例如:寬度、工具欄位置/外觀。

如需在個別嵌入上覆蓋您網站全局的預設設置,請查看外掛指南,了解有關修改短代碼的其他方法與大小選項的資訊。

進階功能

PDF Embedder 進階版本中提供的功能:

工具欄中的下載按鈕
頁面之間的持續滾動
超鏈結是完全功能的
全屏模式
編輯頁面號碼以直接跳轉到頁面
追蹤下載次數和檢視次數
適用於行動設備
安全選項 - 難以下載原始 PDF
刪除 wp-pdf.com 品牌標誌

更多詳情請參考 wp-pdf.com!

使用 PDF Embedder Premium 進行行動裝置友好的嵌入

免費版本將適用於大多數行動瀏覽器,但無法完全在螢幕內定位文件。

我們的 PDF Embedder Premium 外掛程式通過智能的“全螢幕”模式解決了這個問題。

當文件小於某個寬度時,文件只顯示為縮略圖,有一個大的“在全螢幕中查看”按鈕,供用戶點擊查看文件。

原文外掛簡介

Upload PDF files and embed them directly into your site’s posts and pages. It works as simple as adding images! Your PDF files will be automatically sized to their natural size and shape. You can also specify a width and the correct height will be calculated automatically. Our PDF Embedder plugin is fully responsive, so the embedded PDF will also look perfect, on any device. Additionally, the pdf embedder will automatically resize whenever the browser dimensions change.
The plugin has a unique method for embedding PDF files with the immense flexibility over the appearance of your document.
The PDF viewer has Next and Previous buttons to navigate the document, and zoom buttons if some areas of a PDF file are too small for your screen.
Your PDF files are embedded within your existing WordPress pages so we have full control over appearance, and all Javascript and other files are served by your own server (not by Google or any other third-party who may not be able to guarantee their own reliability). This means your PDF files will load fast, without any speed penalty.
Other PDF embedder plugins insert the PDF into an ‘iframe’ which means they do not get the flexibility over sizing. Ours does not and that is an incredible benefit to the overall viewing experience across all devices.
In the free plugin, there is no button for users to download the PDF, but download options are available in the Premium versions along with other awesome features.
Another Premium feature are Hyperlinks in your PDF being clickable. Links in the free plugin cannot be clicked.
Usage

Once installed and Activated, click Add Media from any page or post, just like adding an image, but drag and drop a PDF file instead.

In the Classic Editor when you insert into your post, it will appear in the editor as a ‘shortcode’ as follows:

[pdf-embedder url="https://example.com/wp-content/uploads/2024/01/Plan-Summary.pdf"]

You can change the default appearance – e.g. width, and toolbar position/appearance through Settings -> PDF Embedder and also shortcode or block attributes.

To override your site-wide defaults on an individual embed, see the Plugin Instructions for information about sizing options plus other ways to customize the shortcodes.
Premium Features
Features available in the PDF Embedder Premium versions:

Download button in the toolbar
Continuous scroll between pages
Hyperlinks are fully functional
Full screen mode
Edit page number to jump straight to page
Track number of downloads and views
Mobile-friendly
Secure option – difficult to download original PDF
Removes wp-pdf.com branding

See wp-pdf.com for details!
Mobile-friendly embedding using PDF Embedder Premium
The free version will work on most mobile browsers, but cannot position the document entirely within the screen.
Our PDF Embedder Premium plugin solves this problem with an intelligent ‘full screen’ mode.
When the document is smaller than a certain width, the document displays only as a ‘thumbnail’ with a large ‘View in Full Screen’ button for the user to click when they want to study your document.
This opens up the document so it has the full focus of the mobile browser, and the user can move about the document without hitting other parts of the web page by mistake. Viewers can then Click Exit to return to the regular page.
The user can also swipe continuously between all pages of the PDF which is more natural than clicking the navigation buttons to navigate.
See our site wp-pdf.com for more details and purchase options.
Protect your PDFs with our premium document embedder version
Our PDF Embedder Premium plugin on its Pro plan provides the same simple but elegant viewer as the Basic version, with the added protection that it is difficult for users to download or print the original PDF document.
This means that your PDF is unlikely to be shared outside your site where you have no control over who views, prints, or shares it.
Optionally, add a watermark containing any text, including the logged in user’s name or email address to discourage sharing of screenshots.
See our site wp-pdf.com for more details and purchase options.
PDF Thumbnails
Our PDF Thumbnails plugin automatically generates fixed image versions of all PDF files in your Media Library, to use on your site as you wish.
You can use them as featured images in posts containing an embedded version of the PDF, or as a visual clickable link to download the PDF directly.
It also displays the thumbnail as the “icon” for the PDF in the Media Library, making it easy for authors to locate the PDFs they need to insert in a post.
See our site wp-pdf.com/thumbnails/ for more details and purchase options.
With thanks to the Mozilla team for developing the underlying pdf.js technology used by this PDF documents viewer plugin.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「PDF Embedder」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.2 | 2.0 | 2.1 | 2.2 | 2.4 | 2.5 | 2.8 | 3.2 | 4.0 | 4.1 | 4.2 | 4.3 | 4.4 | 4.5 | 4.6 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.2.1 | 2.1.4 | 2.2.2 | 2.2.4 | 2.2.5 | 2.4.1 | 2.5.4 | 2.5.5 | 2.7.3 | 2.7.5 | 3.0.1 | 3.1.8 | 4.6.1 | 4.6.2 | 4.6.3 | 4.6.4 | 4.7.0 | 4.7.1 | 4.8.0 | 4.8.1 | 4.8.2 | 4.9.0 | 4.9.1 | 4.9.2 | trunk |

延伸相關外掛(你可能也想知道)

  • PDF Invoices & Packing Slips for WooCommerce 》這個 WooCommerce 外掛可以自動為您的客戶在訂單確認電子郵件中添加 PDF 發票。包括一個基本模板(額外的模板可從 WP Overnight 購買),以及修改/建立自己的...。
  • PDF Viewer for Elementor 》此外掛可協助您快速且簡易地在 Elementor 中嵌入 PDF 文件。, 我們支援的 Elementor 版本為 v3+ 🙂。
  • Gravity PDF 》Gravity PDF 是使用 Gravity Forms 和 WordPress 創建動態數字 PDF 文件的最佳自助式解決方案。, 高度自定義的 PDF, 開箱即用的版本提供了四種高度自定義的 P...。
  • Google Doc Embedder 》Google Doc Embedder 允許您使用免費的 Google Docs Viewer 在您的 WordPress 頁面中嵌入多種文件類型,並允許行內檢視(並可選擇下載)各種流行的文件類型,...。
  • Print, PDF, Email by PrintFriendly 》GDPR(一般性資料保護條例), PrintFriendly Pro符合GDPR。 隱私政策。我們正在努力使免費版本符合GDPR,但目前因為嚴格的Cookie同意要求而不能符合。如果您...。
  • PDF.js Viewer 》透過 Gutenberg 區塊或簡單的縮略語,將 Mozilla 的 PDF.js Viewer 整合到您的網頁或文章中。PDF.js 是一個用於在瀏覽器中顯示 PDF 頁面的 JavaScript 函式庫...。
  • PDF Poster – PDF Embedder Plugin 》這個外掛可在文章、頁面、小工具區、頁面塊和主題模板中嵌入 PDF 檔案。非常易於使用、使用者友好且非常輕量的外掛。Gutenberg PDF Viewer 塊可用, 查看實況...。
  • Embed PDF Viewer 》透過oEmbed或以區塊的方式,將來自媒體庫或其他地方的PDF嵌入至object標籤或Google Doc Viewer當作備用選項。URL只需要是可以讓全球使用的連結即可。, 靈感來...。
  • WP Photo Album Plus 》此外掛不僅僅是一個相簿外掛,更是一個完整且高度自訂的多媒體內容管理和展示系統。, 特色包括:, , 任意數量的相簿,包含任意類型的多媒體檔案,以及子相簿,...。
  • Send PDF for Contact Form 7 》此外掛可在[Contact Form 7]中添加條件邏輯。, 使用此「透過聯絡表單發送 PDF 擴充套件」,您可以透過表單恢復資料,並將其插入您自行建立和準備的 PDF 中。,...。
  • PDF viewer for Elementor & Gutenberg 》「PDFjs Viewer for Elementor」外掛是一個強大的工具,可輕鬆將 PDF 檔案嵌入到您的 Elementor 頁面建構器頁面中。它專為 Elementor 設計,因此您可以輕鬆在...。
  • PDF Viewer Block for Gutenberg 》一個簡單、具有響應式設計且完全免費使用的古騰堡區塊,可以在您的網站上顯示 PDF 閱讀器。, 您可以輕鬆地即時配置該閱讀器的寬度、高度和對齊方式。, 相容性...。
  • PDF Viewer 》PDF Viewer 是一個 WordPress 外掛,允許您在網站上嵌入 PDF 文件,無需使用 Flash 外掛程式,僅依賴 JavaScript 來運作。這將使您的網站符合 HTML5 標準。此...。
  • PDF Image Generator 》這個外掛可以透過上傳 PDF 附件,將封面轉換為 JPEG,並作為文章縮略圖檔案附加。它還允許顯示縮略圖標誌和插入 PDF 鏈接與封面圖像到編輯器。, , 僅支援 Wor...。
  • PDF Generator For Fluent Forms – The Contact Form Plugin 》Fluent Forms 的 PDF 外掛是您需要的補充程式,可根據使用者在使用 Fluent Forms 創建的表單中提交的內容自動生成 PDF 文件。, 如果您希望根據 Fluent Forms ...。

文章
Filter
Apply Filters
Mastodon