WordPress.org

Plugin Directory

WP Post to PDF Enhanced

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

1.1.1

  • 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).

1.1.0

  • 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.)

1.0.5

1.0.4

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

1.0.3

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

1.0.2

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

1.0.1

  • 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.

1.0.0

  • 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.4
Last Updated: 2015-4-27
Active Installs: 3,000+

Ratings

4.5 out of 5 stars

Support

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

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

0,1,0
100,1,1
100,2,2
0,1,0 100,1,1
100,1,1
80,5,4
0,1,0
0,2,0
100,1,1