Title: DK PDF &#8211; WordPress PDF Generator
Author: Torsten Chmielewski Bulk
Published: <strong>July 10, 2015</strong>
Last modified: January 15, 2026

---

Search plugins

![](https://ps.w.org/dk-pdf/assets/banner-772x250.png?rev=3396282)

![](https://ps.w.org/dk-pdf/assets/icon-256x256.png?rev=3396282)

# DK PDF – WordPress PDF Generator

 By [Torsten Chmielewski Bulk](https://profiles.wordpress.org/torstenbulk/)

[Download](https://downloads.wordpress.org/plugin/dk-pdf.2.3.1.zip)

 * [Details](https://scn.wordpress.org/plugins/dk-pdf/#description)
 * [Reviews](https://scn.wordpress.org/plugins/dk-pdf/#reviews)
 *  [Installation](https://scn.wordpress.org/plugins/dk-pdf/#installation)
 * [Development](https://scn.wordpress.org/plugins/dk-pdf/#developers)

 [Support](https://wordpress.org/support/plugin/dk-pdf/)

## 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](https://dinamiko.dev/plugins/dk-pdf-wordpress-pdf-generator/) | [View Demo](https://demo-dk-pdf.dinamiko.dev/)
| [Documentation](https://dinamiko.dev/docs-categories/dk-pdf-documentation/) | 
[YouTube](https://www.youtube.com/playlist?list=PLWqrakko3Z0T0As28ucC9YUoi_Ciju6u1)

### 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**: Add custom fields including Advanced Custom Fields,
   see [documentation](https://dinamiko.dev/docs/custom-fields/)
 * **Custom Font Manager**: Upload and manage custom .ttf fonts to match your brand
   typography in generated PDFs: see [documentation](https://dinamiko.dev/docs/dk-pdf-fonts-user-guide/)
 * **Multi-Language Support**: Core fonts management for Arabic, Hebrew, Indic, 
   and CJK languages ensuring proper character rendering
 * **Button Visibility by User Role**: Control which WordPress user roles can see
   and generate PDFs, see [documentation](https://dinamiko.dev/docs/pdf-button-visibility-by-role/)
 * **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](https://dinamiko.dev/dk-pdf-custom-services/)
to extend and enhance your PDF generation capabilities.

## Screenshots

 * [[
 * Front-end PDF Button
 * [[
 * PDF Button settings
 * [[
 * PDF Setup settings
 * [[
 * PDF Header & Footer settings
 * [[
 * PDF Custom CSS
 * [[
 * PDF Templates
 * [[
 * Single post PDF
 * [[
 * Category PDF
 * [[
 * WooCommerce Product PDF
 * [[
 * WooCommerce Shop PDF
 * [[
 * Disable PDF Button Metabox
 * [[
 * Custom Fields support

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

## Reviews

![](https://secure.gravatar.com/avatar/57f994681397b666aadbdad1ab144ffef2ccbc3fe32f71a8bf23b8d2dfd03a0c?
s=60&d=retro&r=g)

### 󠀁[Great](https://wordpress.org/support/topic/great-16897/)󠁿

 [Diego Bittencourt](https://profiles.wordpress.org/diegobittencourt/) August 30,
2025

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

![](https://secure.gravatar.com/avatar/bd1554c21e9717730ebfea69529fdc3a5be13c277514c82be40ca44e88d8a290?
s=60&d=retro&r=g)

### 󠀁[Support PHP8, super helpful developer](https://wordpress.org/support/topic/support-php8-super-helpful-developer/)󠁿

 [hitmonng](https://profiles.wordpress.org/hitmonng/) 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.

![](https://secure.gravatar.com/avatar/03f0f56ae4b6baa029fc39c7bfa04422439442f4fd8d3788ff1e3b8ea7a87f96?
s=60&d=retro&r=g)

### 󠀁[Just downgrade your php to 7.4 and it still works !](https://wordpress.org/support/topic/just-downgrade-your-php-to-7-4-and-it-still-works/)󠁿

 [Dave Meyer](https://profiles.wordpress.org/agencewebmeyer/) 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 !!!

![](https://secure.gravatar.com/avatar/ff33e2e0d32943ee991ee2d76a246615af59ae4e041b55f622042d0e03945053?
s=60&d=retro&r=g)

### 󠀁[Awesome Plugin](https://wordpress.org/support/topic/created-seo-nightmare/)󠁿

 [Shizart](https://profiles.wordpress.org/shizart/) March 10, 2022

Awesome Plugin

![](https://secure.gravatar.com/avatar/54267c6ae418ef7975cee2ddc6c6e12266ab159dc716aa0f0a395e49b6835634?
s=60&d=retro&r=g)

### 󠀁[No longer maintained, not compatible with PHP 8](https://wordpress.org/support/topic/no-longer-maintained-not-compatible-with-php-8/)󠁿

 [djw0510](https://profiles.wordpress.org/djw0510/) February 17, 2022

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

![](https://secure.gravatar.com/avatar/eebf3a2fd7b875b30a2339d6ea2344fed79f608a4a6857a28ad02a9a910a6016?
s=60&d=retro&r=g)

### 󠀁[Update and edit](https://wordpress.org/support/topic/update-and-edit/)󠁿

 [darmasir](https://profiles.wordpress.org/darmasir/) 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

 [ Read all 43 reviews ](https://wordpress.org/support/plugin/dk-pdf/reviews/)

## Contributors & Developers

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

Contributors

 *   [ Torsten Chmielewski Bulk ](https://profiles.wordpress.org/torstenbulk/)
 *   [ dinamiko ](https://profiles.wordpress.org/dinamiko/)

[Translate “DK PDF – WordPress PDF Generator” into your language.](https://translate.wordpress.org/projects/wp-plugins/dk-pdf)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/dk-pdf/), check out
the [SVN repository](https://plugins.svn.wordpress.org/dk-pdf/), or subscribe to
the [development log](https://plugins.trac.wordpress.org/log/dk-pdf/) by [RSS](https://plugins.trac.wordpress.org/log/dk-pdf/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.3.1

 * Fix – Server-Side Request Forgery by sanitizing external URLs from content, and
   configuring mPDF to restrict external resource fetching.

#### 2.3.0

 * Enhancement – Add custom font manager for uploading and managing custom .ttf 
   fonts in PDF generation.
 * Enhancement – Add core fonts management, recommended for Arabic, Hebrew, Indic
   and CJK languages support.

#### 2.2.1

 * Enhancement – Display custom fields in WooCommerce product PDF.
 * Fix – Fatal error when generating PDFs for posts with non-publish status.
 * Fix – Respect ‘shortcode only’ position setting on WooCommerce and WordPress 
   archive pages.

#### 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](https://github.com/joostvanbockel).

#### 1.9.3

 * Reverting to 1.9.1, something went wrong in 1.9.2

#### 1.9.2

 * PHP7: Remove some warnings, see [issue #38](https://github.com/Dinamiko/dk-pdf/issues/38),
   [issue #48](https://github.com/Dinamiko/dk-pdf/issues/48).
 * HTTPS: Fix images not working after move to https, see [issue #51](https://github.com/Dinamiko/dk-pdf/issues/51).

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

## Meta

 *  Version **2.3.1**
 *  Last updated **3 months ago**
 *  Active installations **3,000+**
 *  WordPress version ** 3.9 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 8.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/dk-pdf/)
 * Tags
 * [pdf](https://scn.wordpress.org/plugins/tags/pdf/)[pdf generator](https://scn.wordpress.org/plugins/tags/pdf-generator/)
   [post to pdf](https://scn.wordpress.org/plugins/tags/post-to-pdf/)[Woocommerce PDF](https://scn.wordpress.org/plugins/tags/woocommerce-pdf/)
   [wordpress pdf generator](https://scn.wordpress.org/plugins/tags/wordpress-pdf-generator/)
 *  [Advanced View](https://scn.wordpress.org/plugins/dk-pdf/advanced/)

## Ratings

 4.6 out of 5 stars.

 *  [  36 5-star reviews     ](https://wordpress.org/support/plugin/dk-pdf/reviews/?filter=5)
 *  [  3 4-star reviews     ](https://wordpress.org/support/plugin/dk-pdf/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/dk-pdf/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/dk-pdf/reviews/?filter=2)
 *  [  4 1-star reviews     ](https://wordpress.org/support/plugin/dk-pdf/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/dk-pdf/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/dk-pdf/reviews/)

## Contributors

 *   [ Torsten Chmielewski Bulk ](https://profiles.wordpress.org/torstenbulk/)
 *   [ dinamiko ](https://profiles.wordpress.org/dinamiko/)

## Support

Issues resolved in last two months:

     0 out of 3

 [View support forum](https://wordpress.org/support/plugin/dk-pdf/)