Add PDF Download Link to View #view-download-link
You can easily add PDF Download links to your View. To do this you’ll need to use GravityView’s Custom Content Field. Go edit your View in the admin area, click the
+ Add Field button in the Multiple Entries or Single Entry tab, and click Custom Content. Next, go to your form’s Manage PDF page, copy the
[gravitypdf] shortcode in the list and paste it into the View’s Custom Content Field. Save the View and go check if it’s working.
- Using GravityView’s Advanced Filter extension to show the entries from the current logged in user.
Using a Membership plugin that allows you to show/hide content based on user roles (Paid Memberships Pro comes to mind). You can display the GravityView to a user with a Role that includes one of the capabilities found in Gravity PDF’s User Restriction setting – by default this is only the Administrator role. Not sure what Roles and Capabilities are? Here’s a great article from WPShout discussing the finer points.
Public Access #public-access
If you’d like anyone with access to your View to securely download the PDF(s), you can take advantage of signed PDF URLs introduced in Gravity PDF 5.1. Just amend the [gravitypdf] shortcode added to the Custom Content Field and include the
[gravitypdf name="Default Template" id="56ea5a3b2c684" text="Download PDF" signed="1"]