Affiliate Area Shortcodes Installation and Usage

How to Install and Use the Affiliate Area Shortcodes Add-on for AffiliateWP

The Affiliate Area Shortcodes add-on for AffiliateWP allows you fine-tune the affiliate area through the use of various shortcodes.

In this article, we’ll show you how to install and set up the Affiliate Area Shortcodes add-on for AffiliateWP.

  1. Installing the Affiliate Area Shortcodes Add-on
  2. Using Affiliate Area Shortcodes

1. Installing the Affiliate Area Shortcodes Add-on

Before we get started, be sure to install and activate AffiliateWP on your WordPress site.

Once you’ve got AffiliateWP installed and your license is verified you’ll be able to quickly install and activate the Affiliate Area Shortcodes add-on.

After installing the Affiliate Area Shortcodes add-on, the next step is to understand the usage of each shortcode.

2. Using the Affiliate Area Shortcodes

Once activated, this plugin provides 20 shortcodes for fine-tuned control over the Affiliate Area:

[affiliate_area_graphs] – Shows the contents of the Affiliate Area’s graphs tab.

[affiliate_area_settings] – Shows the contents of the Affiliate Area’s settings tab.

[affiliate_area_creatives] – Shows the contents of the Affiliate Area’s creatives tab.

[affiliate_area_referrals] – Shows the contents of the Affiliate Area’s referrals tab.

[affiliate_area_stats] – Shows the contents of the Affiliate Area’s statistics tab.

[affiliate_area_payouts] – Shows the contents of the Affiliate Area’s payouts tab.

[affiliate_area_urls] – Shows the contents of the Affiliate Area’s affiliate URLs tab.

[affiliate_area_visits] – Shows the contents of the Affiliate Area’s visits tab.

[affiliate_area_notices] – Shows the default affiliate dashboard notices. These notices show a specific message to the affiliate when their status is either pending, rejected, inactive, or if their profile is updated.

Additionally, you can override the default messages by providing the relevant shortcode attribute:

Pending – [affiliate_area_notices pending=”Your custom message”]

Rejected – [affiliate_area_notices rejected=”Your custom message”]

Inactive – [affiliate_area_notices inactive=”Your custom message”]

Profile Updated – [affiliate_area_notices profile_updated=”Your custom message”]

Or you can change them all at once:
[affiliate_area_notices pending=”Your custom message” rejected=”Your custom message” inactive=”Your custom message” profile_updated=”Your custom message”]

[affiliate_logout] – Shows a log out link for an affiliate anywhere on your site.

The following shortcodes breakdown the individual data shown on the statistics tab of the Affiliate Area.

[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_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.