Overview
Once activated, this plugin will create a new “Downloads” Custom Post Type (CPT) where you can upload the individual resources that you would like to provide after a visitor submits a Gravity Form. After uploading some files, you can set the Gravity Form that you would like visitors to complete prior to accessing the download links for each of those files.
With the files added and the form selected, visitors viewing your individual download pages will be presented with your form. Once completing, they will be given the download link for that associated file.
*Note! This plugin is primarily a marketing tool and a way to build up an email or subscriber list. THERE ARE NO CONTROLS WITHIN THIS PLUGIN TO PROTECT OR COMPLETELY RESTRICT ACCESS TO YOUR DOWNLOADS.
Installation
Prior to using this plugin, your website will need to be running on a self-hosted, WordPress.org installation. Additionally, you’ll need to have the Gravity Forms plugin installed and activated on your site.
Install via Download
- Click the “Download Plugin” button above to download the complete plugin .zip file
- While logged in to your WordPress dashboard, navigate to the Plugins > Add New page
- At the top of the page, click the “Upload Plugin” button
- Click “Choose File” and navigate to the zip file that you downloaded from here
- Once installed, click “Activate Plugin”
Install via Git
- Change directory into your wp-content / plugins folder for your WordPress install
- run
git clone --recursive https://github.com/BeardedGinger/download-gate-gravityforms.git
to get the full plugin and all the needed submodules. - Log in to your WordPress dashboard and activate the uploaded plugin
Getting Started
Adding Downloadable Resources
Once activated, you will now see a “Downloads” section within your WordPress dashboard. You can manage each of your downloads just like you would any other post or page on your site. Give your download a title along with as much of a description as you like.
Next, use the “Add or Upload File” button within the “Downloadable File” meta box to upload the file for this download.
Assigning the Gravity Form
If you haven’t yet created your form, go ahead and create the form that you would like your users to submit in order to access the download link.
Once your form is created, navigate to the Forms > Settings page and click on the “Downloads” tab. There, select the form that to be used for accessing your downloads.
See it in action
Now that you have everything set up, visit the front-end page for one of your downloads (the same process you would take if you were looking at one of your posts on the site).
You’ll see a form automatically appended to your content for that download. Submit the form. On the confirmation page, you will now see the button available to download the associated resource.