Affiliate Area Shortcodes
Provides shortcodes for each tab of the Affiliate Area
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]
Show the default affiliate dashboard notices. The default notices can also be customized.
[affiliate_logout]
Shows a log out link for an affiliate anywhere on your site.
[affiliate_name]
Show an affiliate’s name as set by the “Display name” in their WordPress profile.
[affiliate_username]
Show an affiliate’s username.
[affiliate_id]
Show an affiliate’s ID.
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_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.
[affiliate_campaign_stats]
Show an affiliate’s campaign stats
Note, tabs in the affiliate area can be easily removed or reordered using the dashboard.php template file; some customers prefer the use of shortcodes.
With the above shortcodes you’ll be able to:
- Create an Affiliate Area (without tabs) and stack them in any order on one page.
- Put each shortcode on a separate page, essentially creating your own page structure.
- Have more control over which areas the affiliates see, without having to modify a template file.
Just remember to set your Affiliate Area page in Affiliates → Settings to be your login page or your affiliates will have no where to login from via emails etc.