[WordPress] 外掛分享: PDF Embedder

首頁外掛目錄 › PDF Embedder
WordPress 外掛 PDF Embedder 的封面圖片
300,000+
安裝啟用
★★★★
4.7/5 分(477 則評價)
77 天前
最後更新
86%
問題解決
WordPress 6.1+ PHP 7.2+ v4.9.3 上架:2015-01-20

內容簡介

這款外掛程式可以上傳 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 外掛程式通過智能的“全螢幕”模式解決了這個問題。

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

外掛標籤

開發者團隊

⬇ 下載最新版 (v4.9.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「PDF Embedder」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon