Gravity PDF 4.2 Released

Gravity PDF 4.2 is a developer-focused release, but there’s a few exciting new features for end users, too.

Pagebreak Support

We’ve added out-of-the-box support for pagebreaks in all Core and Universal PDF templates. To use, add the CSS class name “pagebreak” to fields in the Form Editor. The PDF will automatically put the field on a new page in the generated document.

See our documentation for more details.

Merge Tag Support in Admin Fields

When generating the PDF, any field that has its Visibility set to Administrative will automatically process saved merge tags or shortcodes. This is useful if you want to add additional information like the entry ID (using the tag {entry_id} ) to the document.

Gravity Perks’ Terms of Service Field

The Terms of Service field got an update in this release. It’s now always shown in the Core and Universal PDFs regardless of whether the end user accepted the terms. If they didn’t accept, the text “Not accepted” will be displayed.

Getting Started Screen

A link to the Getting Started Screen is included on the Plugins page. The automatic redirect to this page on install / update has been removed.

PDF Master Password

For those who missed the Master Password feature from Gravity PDF v3, it’s now back. Enable it in the UI via a new filter.

PDF Shortcode Debug Messages

Enable in-browser debug messages for the Gravity PDF shortcode(s) via a new setting on the PDF global settings page.

Minimum Software Requirements Updated

WordPress 4.4 is now the minimum supported version. Ensure you are running 4.4 or higher before updating.

For developers, we’ve added a dozen new actions / filters to further customise the plugin. Also included is the add-on and licensing infrastructure so we can begin offering premium add-ons for Gravity PDF, as well as a number of bug fixes. Refer to the changelog for full details.

Upgrading to Gravity PDF 4.2

Gravity PDF 4.2 is available via automatic updates. You can also download the 4.2 zip package from directly and install using the upload or FTP methods.

Help and Support

If you run into any problems with Gravity PDF 4.2 please submit a support ticket via our website and our friendly staff will be happy to assist. If you’re a developer and find a bug you can report it directly on GitHub.