Affiliate Area Shortcodes - setup

Note: This article relates to the free Affiliate Area Shortcodes add-on.

1
Download the free plugin
2
Install and activate the plugin just as you would with any other WordPress plugin

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.