Plugin Directory

Test out the new Plugin Directory and let us know what you think.

WP Post to PDF Enhanced

WP Post to PDF Enhanced renders posts & pages as downloadable PDFs for archiving and/or printing.


  • Changed perms to 0777 when creating directories, as clearing cache led to unwritable cache space.
  • Corrected appearance of "Author :" when option set to None (the heading should be suppressed).


  • Addressed possible XSS vulnerability as described here: https://blog.sucuri.net/2015/04/security-advisory-xss-vulnerability-affecting-multiple-wordpress-plugins.html.
  • Updated to TCPDF 6.2.6, and all included fonts.
  • Correct title formatting when option set to apply other plugin output (thanks to doublesharp for the suggestion and the code snippet!).
  • Changed options when creating cache directories to set perms to 0755 (thanks to Qobo Ltd for the suggestion and the code snippet!).
  • Reorganized admin panels to improve flow and accommodate additional settings.
  • Added paper size option based upon sizes available in TCPDF.
  • Added custom footer options.
  • Added custom bullet image options (still testing image types and consistency).
  • Added margin options (previously, these were set in TCPDF options file).
  • Improvements (I hope) to image alignment (though still needs work).
  • Initial code to set version in db for use in smoother upgrades.
  • Initial work to preserve existing option settings and add defaults for newly added ones. (This is still under development and not yet functional.)



  • Fixed issue with deprecated get_bloginfo('siteurl') when inserting the blog url in the header.


  • Fixed issue with has_shortcode() function introduced with WP 3.6. We are once again compatible with earlier versions of WP.


  • Various minor variable isset and constant corrections to fix PHP Notices in error log.


  • Implemented basic shortcode ([wpptopdfenh]) to allow placement of PDF icon on demand. Shortcode observes display options for public/non-public and single page only, so excluding the main icon from the page will still allow shortcode to display the icon.
  • Implemented shortcode ([wpptopdfenh_break]) to set manual page breaks within PDF.
  • Added note to FAQ concerning non-Unicode fonts and non-English characters.
  • Added ability to add global css. This is stored in the db.
  • Added option to specify the logo image padding/size factor (default is 14).
  • Resized input fields and textareas in admin panel.
  • Added debug code to keep handy (turned off by default; not settable in admin).
  • Partial Fix: Modified some code which was wrapping div tags around all images, forcing text centering (and thus, images within those areas). Images still not respecting alignment, but workaround is to place image in text area and set text alignment (issue #44).
  • Fix: When include/exclude dialogs are both set to include, and no entries present, radio button for post/page include/exclude is deselected (issue #43).
  • Fix: Corrected Arial -> Helvetica core font mapping (use DejaVu for Unicode); added several missing fonts to admin dropdown (issue #48).
  • Fix: When Process Shortcodes is not selected, strip shortcodes from content, so as not to render things like "[shortcode]".
  • Fix: Cleaned up some code to resolve undefined index and variable notices, as well as constant WPPT0PDFENH_PATH already defined notice (issue #47).
  • Fix: Added PHP version check before sending non-existent html decode constant (ENT_HTML401) to PHP < 5.4, reducing log noise (issue #46).
  • Fix: Rewrote code to generate icon. Now, instead of grabbing the url from the permalink, we grab the entire thing, in case there are additional query strings attached (issue #45).
  • To-do: Allow different icon for shortcode.
  • To-do: Allow arguments for shortcodes (fonts, external css, other options).
  • To-do: Implement filter to strip shortcodes (when Process Shortcodes is deselected) /except/ for our shortcodes.
  • To-do: Fix (once and for all) image alignment issues.
  • To-do: Add option to change formatting of tags & categories from links to plain text.
  • To-do: Add option to specify a custom footer.
  • To-do: Add option to include custom fields in header.


  • Initial public release; functionally equivalent to WP Post to PDF unofficial version 2.4.0.
  • Includes TCPDF 6.0.043, and all included fonts.
  • To-do: Allow limiting category list to just the first category; allow for relocating this to footer, left, right, center).
  • To-do: Allow limiting tag list to just the first tag; allow for relocating this to footer, left, right, center).
  • To-do: Fix HTML prior to rendering when extraneous tags cause annoying truncation of certain PDFs (tables, for example).
  • To-do: Fix image positioning to better respect the HTML layout.
  • To-do: Add option to move date and/or category to the footer, with left, right, or center alignment.
  • To-do: Add option to specify the separator in a list of categories & list of tags.
  • To-do: Add option to remove paragraph break between author, categories, tags, date (to format better and waste less vertical space).
  • To-do: Allow exception to site-wide image scaling factor via shortcode (and add other shortcodes as overrides for various options set in the admin panel).
  • To-do: Allow for custom css definitions to apply to PDF (note that this is highly dependent upon css support in TCPDF class; this to-do list item refers to the ability to enter such css in the admin panel, and not to any specific css support).
  • To-do: Add shortcode to set manual page breaks when rendering PDF.

Requires: 2.7 or higher
Compatible up to: 4.2.13
Last Updated: 2 years ago
Active Installs: 4,000+


4.6 out of 5 stars


0 of 1 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

0,1,0 100,1,1