[WordPress] 外掛分享: Save as PDF Plugin by PDFCrowd

首頁外掛目錄 › Save as PDF Plugin by PDFCrowd
1,000+
安裝啟用
★★★★
4.1/5 分(27 則評價)
32 天前
最後更新
問題解決
WordPress 4.0+ PHP 5.1+ v4.5.8 上架:2019-09-05

內容簡介

"Save as PDF" 外掛很容易使用。只需安裝和啟用外掛,即可在您的網頁上放置一個「另存為 PDF」按鈕。該按鈕可讓您在一個單擊中保存當前網頁(默認)、網頁的部分或任意頁面。

該外掛在內部使用 Pdfcrowd API 網絡服務。Pdfcrowd API 是一個專業的解決方案,可將網頁和 HTML 文檔轉換為 PDF 和各種圖像格式。

外掛高度可定制,您可以:

- 自定義按鈕樣式、文本和圖標
- 選擇“屏幕”和“列印”版面設置(CSS @media)
- 轉換有密碼保護的頁面
- 轉換帶有表單數據的頁面
- 創建互動式 PDF 表單
- 自定義頁面大小和邊距、頁面方向、頁首和頁腳、運行自定義 JavaScript、添加浮水印等等

您可以在設置頁面上自定義外掛。

短代碼:

- [save_as_pdf_pdfcrowd] 短碼在網頁中放置一個按鈕。單擊該按鈕可下載網頁為 PDF。
- 包含 [block_save_as_pdf_pdfcrowd] 短碼只下載頁面的已包含部分為 PDF。要對該部分進行樣式設置,請在該區塊短碼中包括 CSS 設置。
- 短碼可以通過覆蓋插件設置來自定義按鈕樣式和轉換輸出。例如,要將頁面大小更改為信紙並創建一個紅色按鈕,請使用:

[save_as_pdf_pdfcrowd page_size='letter' button_background_color='red']

您可以使用 create_save_as_pdf_pdfcrowd_button($options = array()) 函数直接在 PHP 代碼中創建轉換按鈕。

按鈕 CSS 可以通過在 save-as-pdf-pdfcrowd-button-wrap 或 save-as-pdf-pdfcrowd-button 類上設置 CSS 屬性來自定義。

輸出 PDF 可以直接在瀏覽器中下載或打開。這可以通過“按鈕點擊操作”選項進行配置。輸出文件名會自動生成,也可以在自定義選項中指定。

如果需要任何幫助,請通過 [email protected] 聯繫我們。我們建議您查看我們的 FAQ。它包含許多常見問題的答案。

Pdfcrowd API Playground 可以幫助您配置外掛、創建短碼或函數調用。

最後,提醒外掛在示範中默認運行。它完全功能,但會在內容上添加 Pdfcrowd 標誌和水印。您可以購買 Pdfcrowd API 授權以去除示範水印和 Pdfcrowd 標誌。要激活授權,在外掛的 Basics 選項中輸入 Pdfcrowd 的用戶名和 API 密鑰。單個 Pdfcrowd API 授權可用於多個 Word 中的插件。

外掛標籤

開發者團隊

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

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

原文外掛簡介

The “Save as PDF” plugin lets you add a full-featured PDF download button to your WordPress site in minutes, without custom code or server-side PDF software. Visitors can save a page or post as PDF with one click.
You can install and test the plugin right away in fully functional demo mode. No registration is needed. When you are ready, activate a paid PDFCrowd license for production use.
Useful links:

WordPress plugin guide: setup, first test, and common workflows.
WordPress FAQ: common issues, examples, licensing, and troubleshooting.
Option reference: exact plugin settings.
Contact PDFCrowd support: help with setup or output issues.

Features

Easy setup: Install from WordPress admin, activate the plugin, and test the button in demo mode.
One-click PDF download: Let visitors save pages or posts as PDF.
Modern page rendering: Supports current HTML, CSS, images, and JavaScript.
Flexible button placement: Show the button automatically or place it manually where needed.
Customizable button appearance: Configure button text, icon, layout, and style.
Flexible output settings: Adjust PDF layout, page size, margins, headers, footers, and other output options from WordPress admin.
Selected-content conversion: Convert the full page or a selected part of the page.
Output cleanup: Remove headers, sidebars, cookie banners, popups, ads, or other unwanted page parts from the generated PDF.
No PDF software to install on your server: PDF generation runs through PDFCrowd.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon