前言介紹
- 這款 WordPress 外掛「Save as PDF Plugin by Pdfcrowd」是 2019-09-05 上架。
- 目前有 1000 個安裝啟用數。
- 上一次更新是 2025-04-09,距離現在已有 25 天。
- 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.1 以上。
- 有 25 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
pdfcrowd |
外掛標籤
pdf widget | web to pdf | content export | pdf conversion | printable content |
內容簡介
"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 中的插件。
原文外掛簡介
The “Save as PDF” plugin adds a convenient button to your WordPress website, allowing visitors to save the content of the webpage as a PDF file with just a click. This provides the option to read your content offline or share it easily with others. Whether it’s articles, posts, or product pages, “Save as PDF” ensures your website’s content is accessible in a widely used format.
Features
Easy to Use: A simple, intuitive button on your webpage allows users to save content as a PDF.
Customizable Button: Customize the appearance and placement of the ‘Save as PDF’ button to match your website’s design.
High-Quality PDFs: Generates high-quality PDF documents that maintain the original layout and styling of your webpages.
Shortcode Support: Easily add the ‘Save as PDF’ button anywhere on your site with a simple shortcode.
Usage
Once activated, the “Save as PDF” button will automatically appear on all eligible content according to your settings. Users can click this button to save the current page as a PDF file.
To manually add the “Save as PDF” button to specific pages or posts, use the following shortcode:
[save_as_pdf_pdfcrowd]
For additional methods of adding the button to your pages, please refer to the Getting Started Guide.
Customization
The plugin offers various customization options accessible through the WordPress admin panel. You can change the PDF generation settings and button appearance. For more detailed customization, please refer to the plugin option reference.
Licensing
By default, the plugin operates in demo mode, which, while fully functional, adds a watermark and Pdfcrowd branding to the content.
To remove the demo watermark and Pdfcrowd branding, you can purchase an API license. Activate the license by entering your Pdfcrowd username and API key in the plugin settings under the License tab.
A Pdfcrowd API license is versatile, allowing use across multiple WordPress websites for our plugins. Additionally, the API license grants direct access to the Pdfcrowd API for a broader range of applications.
Basic Troubleshooting
If the default plugin output does not meet your requirements, consider adjusting the following settings individually. You may need to activate the “Expert Settings” option to access some of these features.
Mode > Conversion Mode: Try switching it to either “Upload” or “Content”.
Print Resolution > Content Viewport Width: Experiment with different widths to see which yields the best result.
Print Resolution > Content Fit Mode: Different scaling modes can significantly alter the PDF’s page layout.
Print Resolution > Content Viewport Height: Increase this value, for example, to 50000, to see if it improves the output.
Support
Please contact us or write to [email protected] if you need any help. We will be happy to assist you with configuring the plugin to ensure its output meets your needs.
Plugin links:
Guide
Option Reference
FAQ
About us
The plugin is provided by Pdfcrowd, established in 2009 as a pioneer in the field of online conversion services. Over the years, we have served hundreds of thousands of users worldwide, constantly evolving our technology to meet the needs of our customers.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Save as PDF Plugin by Pdfcrowd」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。