# AffiliateWP - Affiliate Area Shortcodes

`meteorgpl-plugin/affiliatewp-affiliate-area-shortcodes` — a WordPress plugin as a Composer package.

Provides shortcodes for each tab of the Affiliate Area + other useful shortcodes

- Author: Sandhills Development, LLC — https://sandhillsdev.com
- Homepage: https://affiliatewp.com/add-ons/official-free/affiliate-area-shortcodes/
- License: GPL-2.0-or-later (profile: gpl-full)
- Buy a license from the vendor: https://affiliatewp.com/add-ons/official-free/affiliate-area-shortcodes/
- Latest version: 1.3 (2021-11-03)
- Page: https://meteorgpl.com/packages/meteorgpl-plugin/affiliatewp-affiliate-area-shortcodes
- Requires WordPress: 5.2
- Tested up to WordPress: 5.7
- Requires PHP: 5.6
- Vendor: Sandhills Development, LLC — https://meteorgpl.com/vendors/sandhillsdev.com

## About

> This plugin requires [AffiliateWP](https://affiliatewp.com/ "AffiliateWP") in order to function.

Once activated, this plugin provides a shortcode for each tab of the affiliate area:

[affiliate_area_graphs]

[affiliate_area_settings]

[affiliate_area_creatives]

[affiliate_area_referrals]

[affiliate_area_stats]

[affiliate_area_payouts]

[affiliate_area_urls]

[affiliate_area_visits]

[affiliate_area_notices]
Show the default affiliate dashboard notices

[affiliate_logout]
Show the affiliate a log out link

[affiliate_referrals status="paid"]
Show the affiliate's paid referral count

[affiliate_referrals status="unpaid"]
Show the affiliate's unpaid referral count

[affiliate_earnings status="paid"]
Show the affiliate's paid earnings

[affiliate_earnings status="unpaid"]
Show the affiliate's unpaid earnings

[affiliate_campaign_stats]
Show an affiliate's campaign stats

[affiliate_name]
Show an affiliate's name, as set by the "Display name" field in their WordPress profile

[affiliate_name first_name_only="yes"]
Only show an affiliate's first name, as set by the "First Name" field in their WordPress profile

[affiliate_username]
Show an affiliate's username

[affiliate_website]
Show an affiliate's website URL

[affiliate_id]
Show an affiliate's ID

[affiliate_visits]
Show the affiliate's visit count

[affiliate_conversion_rate]
Show the affiliate's conversion rate

[affiliate_commission_rate]
Show the affiliate's commission rate

Although the tabs in the affiliate area can be easily removed or reordered using the [dashboard.php template file](https://docs.affiliatewp.com/article/118-modifying-template-files "Modifying template files"), some customers prefer the use of shortcodes.

With the above shortcodes you'll be able to:

1. Create an Affiliate Area and stack them in any order on one page.
2. Put each shortcode on a separate page, essentially creating your own page structure.
3. Have more control over which areas the affiliates see, without having to modify the [template files](https://docs.affiliatewp.com/article/118-modifying-template-files "Modifying template files").

Just remember to set your Affiliate Area page in Affiliates &rarr; Settings to be your [login page](https://docs.affiliatewp.com/article/98-affiliatelogin "Affiliate Login Shortcode") or your affiliates will have nowhere to log in from via emails etc.

**What is AffiliateWP?**

[AffiliateWP](https://affiliatewp.com/ "AffiliateWP") provides a complete affiliate management system for your WordPress website that seamlessly integrates with all major WordPress e-commerce and membership platforms. It aims to provide everything you need in a simple, clean, easy to use system that you will love to use.

## Changelog

### 1.3

* New: Requires WordPress 5.2 minimum

### 1.2

* New: Enforce minimum dependency requirements checking
* New: Requires PHP 5.6 minimum
* New: Requires WordPress 5.0 minimum
* New: Requires AffiliateWP 2.6 minimum
* New: Polish translation added
* Improved: Tested up to WordPress 5.7

### 1.1.7

* Tweak: Force the AffiliateWP front-end scripts to load when on the page set as the Affiliate Area

### 1.1.6

* Fix: Load the jQuery UI datepicker and styling for the [affiliate_area_graphs] shortcode

### 1.1.5

* New: [affiliate_area_notices] shortcode

Full changelog: https://meteorgpl.com/packages/meteorgpl-plugin/affiliatewp-affiliate-area-shortcodes/changelog

## Install

```sh
composer config repositories.meteorgpl composer https://composer.meteorgpl.com
composer require meteorgpl-plugin/affiliatewp-affiliate-area-shortcodes
```

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.3 | 2021-11-03 | 23.2 KB | d2d2743c13070084678e8ef9fc53823f240d5cf26364ad172c448484ed4835df | verified |

