[WordPress] 外掛分享: Embed PDF with Smallpdf

首頁外掛目錄 › Embed PDF with Smallpdf
WordPress 外掛 Embed PDF with Smallpdf 的封面圖片
全新外掛
安裝啟用
尚無評分
489 天前
最後更新
問題解決
WordPress 6.5+ PHP 7.4+ v1.0.1 上架:2024-11-13

內容簡介

總結:Embed PDF with Smallpdf 外掛讓您輕鬆將 PDF 文件添加到 WordPress 文章和頁面中,提供兩種方便的嵌入 PDF 方法。

問題與答案:
1. 如何在 Gutenberg 編輯器中使用 Embed PDF with Smallpdf 外掛?
- 按下 Gutenberg 編輯器中的「+」按鈕添加區塊。
- 搜尋「Embed PDF with Smallpdf」。
- 您可以從媒體庫上傳 PDF 或在側邊欄中的區塊詳情中粘貼 PDF 網址。

2. 如何使用 Shortcode 嵌入 PDF 文件?
- 使用 [pdf url='_ADD_PDF_URL_HERE_'] 這個短代碼來嵌入 PDF。
- 通過在短代碼中添加高度參數來控制小部件的高度,例如 [pdf url='' height='480']。高度值必須是整數,以像素(px)為單位。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

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

原文外掛簡介

Embed PDF with Smallpdf makes it easy to add PDF documents to your WordPress posts and pages. This plugin offers two convenient methods for embedding PDFs:

Gutenberg Block:

Add the block by clicking on the + button in the Gutenberg editor.
Search for “Embed PDF with Smallpdf”.
You can either upload a PDF from your media library or paste a PDF URL in the block details in the sidebar.
Adjust the height of the widget by specifying the size in pixels (px) from the sidebar.

Shortcode:

Use the shortcode [pdf url='_ADD_PDF_URL_HERE_'] to embed a PDF.
Control the height of the widget by adding the height parameter to the shortcode, e.g., [pdf url='' height='480']. The height value, in px, must be integer.

This flexibility allows you to seamlessly integrate PDF files into your content, ensuring they are easily accessible to your audience.
Use of Third-Party Services
This plugin integrates the Embed PDF widget viewer from Smallpdf. To display your PDF successfully, the file may be processed through Smallpdf’s servers.
By using this plugin, you agree to Smallpdf’s Terms & Conditions and Privacy Policy
Development
The source code for this plugin is available on GitHub:
GitHub Repository

延伸相關外掛

文章
Filter
Apply Filters
Mastodon