DK PDF – WordPress PDF Generator

Plugin Banner

DK PDF – WordPress PDF Generator

by Torsten Bulk

Download
Description

Transform your WordPress content into professional PDF documents

Generate stunning, brand-consistent PDF files from your WordPress posts, pages, custom post types, and WooCommerce products with just one click. Perfect for content creators, businesses, and developers who need reliable PDF generation.

Homepage | View Demo | Documentation | YouTube

Powerful features that deliver results

  • Multi-Content Generation: Create PDFs from posts, pages, custom post types, taxonomies, WooCommerce products, shop and categories
  • Selective Content Display: Choose exactly what appears in your PDFs – featured images, post dates, authors, categories, and more
  • Custom Fields Support: see documentation
  • Button Visibility by User Role: Control which WordPress user roles can see and generate PDFs, see documentation
  • WooCommerce Integration: Include product details like prices, SKUs, categories, and more
  • Header & Footer Control: Add logo, custom text, and branding elements to headers and footers
  • Custom CSS Support: Apply your own styling to match your brand perfectly
  • Smart Content Control: Use powerful shortcodes to hide sections, create column layouts, and add page breaks exactly where you need them
  • Template Overrides: Create custom templates in your theme for complete design and content control
  • WordPress Hooks: Extensive filter and action hooks for advanced customization

Perfect for every use case

  • Content Creators & Bloggers: Transform your best blog posts into downloadable PDFs for lead magnets or offline reading.
  • E-commerce Sites: Create product catalogs and detailed product sheets from your WooCommerce products.
  • Developers: Build custom PDF solutions for clients using template overrides and WordPress hooks.
  • Educational Sites: Convert course materials, lessons, and resources into portable PDF formats.

DK PDF Custom Services

Need custom functionality for the DK PDF Plugin? I provide professional customization services to extend and enhance your PDF generation capabilities.

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
  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. PDF Templates

    PDF Templates

  7. Single post PDF

    Single post PDF

  8. Category PDF

    Category PDF

  9. WooCommerce Product PDF

    WooCommerce Product PDF

  10. WooCommerce Shop PDF

    WooCommerce Shop PDF

  11. Disable PDF Button Metabox

    Disable PDF Button Metabox

Great

By Diego Bittencourt (diegobittencourt) on August 30, 2025

Great, but the PDF Button text change doesn’t work.

Support PHP8, super helpful developer

By hitmonng on December 16, 2024

Contrary to older reviews, the developer has updated the plugin to support PHP8. I’ve tried nearly every PDF generator plugin out there, and most are either overly complicated, have cluttered UIs, bombard you with paid upgrade ads, or are just awful to set up and use—especially for something that should be straightforward with the abundance of PDF libraries available. This plugin is the one—clean, no-nonsense, developer-friendly (if you need to control the styling and output), and most importantly, backed by a super helpful developer. If only more developers created sensible, easy-to-use, and well-designed plugins like this one.

Just downgrade your php to 7.4 and it still works !

By Dave Meyer (agencewebmeyer) on January 22, 2023

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 !!!

Awesome Plugin

By Shizart on March 10, 2022

Awesome Plugin

No longer maintained, not compatible with PHP 8

By djw0510 on February 17, 2022

Like the title says, this plugin is no longer maintained and it is not compatible with PHP 8.

Update and edit

By darmasir on December 24, 2021

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

great

By moein (moeinkd) on December 9, 2020

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

DON'T DOWNLOAD - BROKEN Auto-generates PFD with page content for download

By excelfin on November 28, 2019

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>

Works great

By magicoders (patopaiar) on March 5, 2019

I have used this plugin in at least 3 projects so far and it works great. Very flexible and you can create the PDF just like you want them. Thank you Emili!

Good at what it does, lacks some settings.

By Coin-coin le Canapin (canapin) on February 3, 2019

Works well. I'd like to be able to easily customize the title CSS and make it appear only on the first page though.

2.2.0

  • Enhancement – Add button visibility by role.
  • Enhancement – Add max. number of items to display in the PDF.
  • Fix – Fatal error with composer package versions.
  • Fix – Wrong header and footer title for categories and shop.

2.1.0

  • Enhancement – Add custom fields support.
  • Fix – Display pdf button in wc taxonomies to apply.

2.0.2

  • Fix – Wrong post content in single templates.

2.0.1

  • Fix – Broken shortcodes after 2.0.0 upgrade.

2.0.0

  • Enhancement – New template system and content display including archive and single templates.
  • Enhancement – Support for WooCommerce products including single, shop and archive pages.

1.9.10

  • Enhancement – Add new template sets system.
  • Enhancement – Add new dkpdf_content_template filter to select template conditionally.
  • Enhancement – Add output PDF html for debugging purposes.
  • Enhancement – Increase init settings action priority to allow more custom post types to apply.

1.9.9

  • Fix – Plugin templates not displaying CSS correctly.

1.9.8

  • Fix – Add custom namespace to avoid issues with third party composer packages.
  • Fix – Disable deprecated dynamic property message.

1.9.7

  • Enhancement – Update plugin requirements and mpdf library to PHP 8+
  • Fix – Reflected Cross-Site Scripting security issue

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
Back to top