You can now require membership for downloads when using the Download Monitor plugin with Paid Memberships Pro.
The Download Monitor Integration Add On for Paid Memberships Pro adds a “Require Membership” meta box to the “Edit Download” page, allowing you to easily toggle the membership level(s) that can access the download.
How it Works
When using the [download] or [downloads] shortcodes, the non-member will see a link to the membership levels page and a list of the levels that are required to download the file.
The add on also includes the unique templates: “pmpro”, “pmpro_box”, “pmpro_button”, “pmpro_filename”, “pmpro_title” to show the non-member a link to the membership levels page and a list of the levels that are required to download the file.
Direct links to a file download will be redirected to your “No Access” page, which will show the message for non-members as defined in your Memberships > Advanced Settings admin page.
How to Use
- After activation, navigate to “Downloads” to Edit or Add a New Download.
- Check the box for each level that can access this download in the “Require Membership” meta box (below the Publish box in the right sidebar).
- Save your changes by clicking the “Update” button (or “Publish” if you are creating a new download).
When using the [download] shortcode you can optionally specify a “pmpro” template. Available templates include: “pmpro”, “pmpro_box”, “pmpro_button”, “pmpro_filename”, “pmpro_title”.
[download template="pmpro_button"] |
If you do not specify a template, the output of the [download] shortcode can be filtered for a non-member by using the filter pmprodlm_shortcode_download_content_filter
. This will alter the message shown to a visitor that is not logged in or a logged in user that doesn’t meet membership requirements.