
內容簡介
EnConvert HTML to PDF 外掛允許訪客直接在任何 WordPress 頁面上上傳 HTML 檔案並下載符合 CSS 標準的 PDF。此外掛提供簡潔的表單,並透過 EnConvert API 進行轉換,無需額外的追蹤或 iframe。
【主要功能】
• 允許上傳 .html 和 .htm 檔案
• 支援 CSS @page 規則和自訂頁面尺寸
• 快速返回可下載的 PDF 檔案
• 每月提供 100 次免費轉換
• 直接與 EnConvert API 進行互動
外掛標籤
開發者團隊
原文外掛簡介
Let visitors upload an HTML file and download a CSS-faithful PDF, right from any WordPress page. The plugin renders a native form on your site and sends the file directly to the EnConvert API for conversion. No iframe, no extra tracking — just a clean form on your page.
How it works:
Create a free EnConvert account.
Generate a public API key (pk_*) on your EnConvert API keys page.
Add your WordPress site’s domain to the key’s allowed-domains list.
Paste the key into the plugin settings.
Drop [enconvert_html_to_pdf] into any page, post, or shortcode block.
New to EnConvert? Visit the EnConvert homepage, or try this conversion online at enconvert.com/convert/html-to-pdf.
What the API does behind the scenes:
Accepts .html and .htm files
Renders via WeasyPrint, respecting your CSS @page rules, named page sizes, margins, headers, and footers
Returns a downloadable PDF in seconds
Supports paginated output with named sizes (A0–A6, B0–B5, Letter, Legal, Tabloid, Ledger) or custom dimensions
Free tier available — 100 monthly conversions, no credit card. Paid tiers raise the limit and increase the max file size.
Third-Party Service
This plugin sends visitor-uploaded files directly from the visitor’s browser to the EnConvert API:
https://api.enconvert.com — receives the HTML file and returns a presigned URL for the PDF download.
The visitor’s browser sends an X-API-Key header containing the public API key configured in plugin settings. The API validates the key and the requesting domain (the page’s origin) before accepting the conversion. Your WordPress server is not involved in the conversion request.
Service: EnConvert — https://enconvert.com
Terms of Service: https://enconvert.com/terms
Privacy Policy: https://enconvert.com/privacy
By using this plugin, you and your visitors agree to EnConvert’s Terms of Service and Privacy Policy.
