這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

DK PDF

外掛說明

DK PDF allows site visitors convert posts and pages to PDF using a button.

Features

  • Add PDF button in posts (including custom post types) and pages.
  • Configure PDF header and footer, add custom logo, custom CSS and more.
  • Copy plugin templates in your theme for PDF customizations.
  • Multiple shortcodes: [dkpdf-button], [dkpdf-pagebreak], [dkpdf-remove], and more..
  • Add custom fonts to the PDF.

Addons

  • Do you need to create a PDF with a selection of your articles?
    DK PDF Generator is the perfect tool for you.

Github

Credits

Thanks to:

mPDF, PHP class which generates PDF files from UTF-8 encoded HTML
https://mpdf.github.io/

Font Awesome, the iconic font and CSS toolkit
http://fortawesome.github.io/Font-Awesome/

螢幕擷圖

  • Front-end PDF Button
  • PDF Button settings
  • PDF Setup settings
  • PDF Header & Footer settings
  • PDF Custom CSS
  • Disable PDF Button Metabox

安裝方式

Installing “DK PDF” can be done either by searching for “DK PDF” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:

  1. Download the plugin via WordPress.org
  2. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress dashboard
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

使用者評論

2023 年 1 月 22 日
No longer maintained, not compatible with PHP 8 Like the title says, this plugin is no longer maintained and it is not compatible with PHP 8. This is the error it outputs using PHP 8.0: Array and string offset access syntax with curly braces is no longer supported in /public_html/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 2209 Please, pretty please, somebody fix this !!!
2021 年 12 月 24 日
Update Hello Please update your plugin. Your plugin is the best, but your plugin does not support Persian and Arabic. After receiving the PDF file, a mark from the sites whose articles are in Persian ??????? Is displayed instead of letters in the received PDF. thanks a lot
2020 年 12 月 9 日
I do not know what to say really I do not know how to thank you This plugin is the best, this plugin is the most excellent Customizable, beautiful, fast, free I wish others knew the value of this plugin If you have problems with the new version of WordPress, run it in the lower versions and use a button or download management plugins to place the download button
2019 年 11 月 28 日
Ahhhh, we had a good short run on this one. I think the developer probably is not interested/able to keep going on this one. Too bad that there wasn't more support brought in an a commercial product developed. DO NOT DOWNLOAD. Please comment in forum if you find a working alternative. Thank you! Previous review -------- After searching for a few days for a plug-in that worked I've tried this one out (didn't try it first as there is an alert that it hasn't been tested on the past 3 versions of WordPress). It works!! We have a nice "Download this page as a PDF" + icon at the top of our terms and conditions and privacy policy pages. Just what we were looking for. Simple logo header and a footer that works, with page numbers. Can do more CSS formatting, and it also can take the formatting from your own theme. There is another product (or add-on) which I was a bit confused about, this looks like a great way to produce content from your own website, amalgamating posts together to create an e-book. **DK PDF Generator** <Auto-generates PFD with page content for download>
閱讀全部 41 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈DK PDF〉的開發相關工作。

參與者

將〈DK PDF〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.9.6

  • Update mPDF library to latest version.
  • New filters dkpdf_mpdf_font_dir, dkpdf_mpdf_font_data, dkpdf_mpdf_temp_dir. Thanks to joostvanbockel.

1.9.3

  • Reverting to 1.9.1, something went wrong in 1.9.2

1.9.2

1.9.1

  • Added PDF Protection in PDF Setup Settings
  • New Columns Shortcodes: [dkpdf-columns] and [dkpdf-columnbreak]
  • New Filter: dkpdf_pdf_filename
  • Fixed Admin scripts enqueued on all pages (thanks to Aristeides Stathopoulos @aristath)

1.9

  • Added shortcode tag attribute to dkpdf-remove shortcode
  • FontAwesome icons support
  • Added post title as PDF filename when downloaded from browser

1.8

  • New filter dkpdf_pdf_format
  • New filter dkpdf_header_title
  • Option for remove default PDF button when adding PDF button manually (thanks to Renato Alves)

1.7

  • New filters (see documentation filters)
  • Fixed github issues #21 #23 #24

1.6

  • 4.4.2 Tested
  • Added DK PDF Generator compatibility (css + shortcodes)

1.5

  • Added PDF Custom CSS setting
  • Sanitized settings fields

1.4

  • Added [dkpdf-pagebreak] shortcode for adding page breaks
  • Added filters dkpdf_header_pagination and dkpdf_footer_pagination
  • Added addons page to admin menu

1.3

  • New DK PDF admin menu for better usability
  • Added a PDF Setup tab for adjusting page orientation, font size and margins of the PDF
  • Added [dkpdf-remove] shortcode for removing pieces of content in the generated PDF

1.2

  • Settings link in plugins list page
  • Adjusts header template for better logo display

1.1

  • Removes dkpdf-button shortcode in the generated PDF

1.0

  • Initial release