DK PDF

March 24, 2021

DK PDF Plugin

WordPress to PDF made easy.

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/

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

Screenshots

  1. Front-end PDF Button

    Front-end PDF Button

  2. PDF Button settings

    PDF Button settings

  3. PDF Setup settings

    PDF Setup settings

  4. PDF Header & Footer settings

    PDF Header & Footer settings

  5. PDF Custom CSS

    PDF Custom CSS

  6. Disable PDF Button Metabox

    Disable PDF Button Metabox

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

Details

  • Version: 1.9.6
  • Active installations: 4,000
  • WordPress Version: 3.9
  • Tested up to: 4.9.26
  • PHP Version: 5.6

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars