Add PDF Download Link
The frontend Table variant showing a new custom column to download PDFs
The Entry Table variant allows you to control the specific table columns that are displayed on the frontend. To add a PDF Download Link to the table you need to open the Select a Column dropdown (found under the Summary Columns section) and choose the Custom option:
After the new column is added, select the Open Options spanner/wrench icon to bring up the Summary Column Options dialog box. Here you will be able to set the label and contents for the new column.
You can copy and paste your form's
[gravitypdf] shortcode straight into the Content field and a PDF Download link will automatically be displayed on the frontend.
If you want control of the anchor tag markup you can use the associated PDF merge tag instead of a shortcode. This is useful if you wanted the PDF to open up in a new browser tab (
<a target="_blank" ... />) or to include a wrapper around the link (because your theme auto-applies specific styles to this markup structure).
Entry Loop, Single Entry, Edit Single Entry
Unlike the table view, all other variants make full use of the available blocks in the editor. This means you need to add a new block to the variant you are interested in to include a PDF Download Link.
You can add a Shortcode block or copy/paste the
[gravitypdf] shortcode straight into a new paragraph to include a PDF Download Link in one of these variants.
Add a Button block and add the Gravity PDF merge tag for the button's link. Alternatively, you can highlight text in a paragraph block and use the PDF merge tag for the link.
Because of Gravity PDF's security, default access to view or download PDFs is restricted to the entry owner, or users with a capability found in the User Restriction setting. Unless you are creating a member's area so the current logged-in user can download their own PDFs, or a simple CRUD system for site admins, you should enable the Signed PDF feature so the public can access the PDF documents.
If using the
[gravitypdf] shortcode you should include the
[gravitypdf name="Default Template" id="56ea5a3b2c684" text="Download PDF" signed="1"]
If using a PDF merge tag you should include the