DK PDF

Description

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


See Demo

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.

Documentation

Collaborate in 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/

Screenshots

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

Installation

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

FAQ

Installation Instructions

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

Reviews

Perfect for e-books

I bought the PRO-version to be able to make an e-book from a website with more than 200 pages. After I asked support to be able to select all pages, this was fixed in one day and that makes the plugin perfect! Very quick, expert and kind support!

Simple and effective (with possibilities for improvement)

I’d like to see that working with Gutenberg and being translation ready 🙂 in the near future! Please give it a little workover.

It’s small and simple and works fine already.
One thing I find strange is that the title of the post or page is placed in the header (optional, like the pagination).
I would expect it above the context.
And for the PDF-header the option to have the title of the website, or maybe even both there (website title + post/page title).
I also miss the integration of the featured images…

Keep up the good work!

Read all 33 reviews

Contributors & Developers

“DK PDF” is open source software. The following people have contributed to this plugin.

Contributors

Translate “DK PDF” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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