# Paid Memberships Pro - Sitewide Sales Add On

`meteorgpl-plugin/pmpro-sitewide-sales` — a WordPress plugin as a Composer package.

Create, manage, and view advanced reports for a sitewide or flash sale on membership (Black Friday or Cyber Monday) using Paid Memberships Pro.

- Author: Paid Memberships Pro — https://www.paidmembershipspro.com
- Homepage: https://www.paidmembershipspro.com/add-ons/sitewide-sales/
- License: GPL-2.0-or-later (profile: gpl-full)
- Buy a license from the vendor: https://www.paidmembershipspro.com/add-ons/sitewide-sales/
- Latest version: 1.2.3 (2019-04-25)
- Page: https://meteorgpl.com/packages/meteorgpl-plugin/pmpro-sitewide-sales
- Tested up to WordPress: 5.1.1
- Vendor: Paid Memberships Pro — https://meteorgpl.com/vendors/paidmembershipspro.com

## About

This plugin requires Paid Memberships Pro to function.

The Sitewide Sales Add On allows you to create flash or sitewide sales. A Sitewide Sale CPT allows you to create multiple sales, each with an associated discount code and landing page. The plugin will automatically apply a discount code for users who visit the sale landing page.

The plugin also adds the option to display sitewide page banners to advertise your sale and gives you statistics about the outcome of your sale.

## Changelog

### 1.2.3 — 2019-04-25

* BUG FIX: Fixed issue where Sitewide Sales was removing any previously added custom fields for the PMPro Advanced Settings page and throwing a warning.

### 1.2.2

* BUG FIX/EHNANCEMENT: Running wpautop before do_shortcode on the pmpro_sws_banner_content filter.

### 1.2.1

* BUG FIX/ENHANCEMENT: Instead of using the_content filters for banner content, we added our own pmpro_sws_banner_content filter and are running wpautop and do_shortcode on it by default.

### 1.2

* BUG FIX: Fixed sanitizing and escaping of user input in several places.
* BUG FIX: Fixed notices on the landing page.
* BUG FIX: Fixed bug where Quick Edit was removed from non-sitewide sale CPTs.
* ENHANCEMENT: Sitewide Sale banner titles and content can now include HTML.
* ENHANCEMENT: Added pmpro_sws_before_banner_button hook to add content into banners... above the button. Passes the post ID of the active sitewide sale as a parameter.
* ENHANCEMENT: Added a PMPROSWS_VERSION constant and using it to set the version for CSS and JS assets.

### 1.1.1

* BUG FIX: Buy link in bottom banner is fixed now.

Full changelog: https://meteorgpl.com/packages/meteorgpl-plugin/pmpro-sitewide-sales/changelog

## Install

```sh
composer config repositories.meteorgpl composer https://composer.meteorgpl.com
composer require meteorgpl-plugin/pmpro-sitewide-sales
```

The repository needs a token (see https://meteorgpl.com/docs). The vendor's license checks are intact: activate the plugin in WordPress with a key bought from the vendor.

## Versions

| Version | Released | Size | SHA-256 | Status |
| --- | --- | --- | --- | --- |
| 1.2.3 | 2019-04-25 | 102.8 KB | b40a192b22e743065168ec2e670b897da0ae4576fbf3a44283a63f88ebf0dff2 | verified |

