Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dwnload/wp-email-download

Collect emails (or require MailChimp subscription) before allowing access to downloads.
https://github.com/dwnload/wp-email-download

downloader email-subscription mailchimp php shortcode wordpress wordpress-plugin

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# Email Download #

[![PHP from Packagist](https://img.shields.io/packagist/php-v/dwnload/wp-email-download.svg)]()
[![Latest Stable Version](https://img.shields.io/packagist/v/dwnload/wp-email-download.svg)](https://packagist.org/packages/dwnload/wp-email-download)
[![Total Downloads](https://img.shields.io/packagist/dt/dwnload/wp-email-download.svg)](https://packagist.org/packages/dwnload/wp-email-download)
[![License](https://img.shields.io/packagist/l/dwnload/wp-email-download.svg)](https://packagist.org/packages/dwnload/wp-email-download)
![Build Status](https://github.com/dwnload/wp-email-download/actions/workflows/main.yml/badge.svg)

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

**Contributors:** [thefrosty](https://github.com/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**:

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

### Installation

To install this plugin, using Composer:

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