Skip to content

Collect emails (or require MailChimp subscription) before allowing access to downloads.

Notifications You must be signed in to change notification settings

dwnload/wp-email-download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Download

PHP from Packagist Latest Stable Version Total Downloads License Build Status

Allow users to download any WordPress managed file if they're subscribed to your MailChimp list

Contributors: thefrosty
Tags: wordpress-plugin, downloader, email-subscription, mailchimp, wp-api
Requires at least: 6.1
Tested up to: 6.3
Requires PHP: 8.0
Stable tag: master
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Mange downloads via WordPress' media manager, and the Email Download shortcode which requires a users to currently be subscribed to your MailChimp mailing list designated in the shortcode attribute.

Shortcode

The current shortcode expects two attributes to be set; list-id=(string) and file=(int) where list-id is the ID of your MailChimp list (which you can get from the admin settings page or the shortcode builder) and the file which is the attachment ID from WordPress' media manager (again you can get this from the media screen, the post object media manager or the shortcode builder).

Example shortcode:

[email_to_download list-id="uo063u0837" file="4" /]

Installation

To install this plugin, using Composer:

composer require dwnload/wp-email-download:~0.5