AffiliateWP – Affiliate Area Shortcodes

Description

This plugin requires 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, 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.

Just remember to set your Affiliate Area page in Affiliates → Settings to be your login page or your affiliates will have nowhere to log in from via emails etc.

What is AffiliateWP?

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.

Installation

  1. Unpack the entire contents of this plugin zip file into your wp-content/plugins/ folder locally
  2. Upload to your site
  3. Navigate to wp-admin/plugins.php on your site (your WP Admin plugin page)
  4. Activate this plugin

OR you can just install it with WordPress by going to Plugins → Add New → and type this plugin’s name

Reviews

Love This! Thank you!

Huge thanks so Andrew and the team on this plugin as it allows me to easily and fully customize the affiliate experience for my site. Thanks so much and keep up the awesome work!

Read all 4 reviews

Contributors & Developers

“AffiliateWP – Affiliate Area Shortcodes” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

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

1.1.4

  • New: [affiliate_area_payouts] shortcode
  • Tweak: Replaced get_currentuserinfo() with wp_get_current_user()

1.1.3

  • New: [affiliate_website] shortcode to show the affiliate’s website as entered in their WordPress user profile

1.1.2

  • New: The [affiliate_name] shortcode can now be forced to show the affiliate’s first name, rather than their display name. Example: [affiliate_name first_name_only=”yes”]

1.1.1

  • New: [affiliate_campaign_stats] shortcode to show just an affiliate’s campaign stats.
  • New: [affiliate_username] shortcode to show an affiliate’s username
  • New: [affiliate_id] shortcode to show an affiliate’s ID
  • New: [affiliate_name] shortcode to show an affiliate’s name as set by the “Display name” in their WordPress profile

1.1

  • New: [affiliate_referrals status=”paid”] and [affiliate_referrals status=”unpaid”] shortcodes
  • New: [affiliate_earnings status=”paid”] and [affiliate_earnings status=”unpaid”] shortcodes
  • New: [affiliate_visits] shortcode
  • New: [affiliate_conversion_rate] shortcode
  • New: [affiliate_commission_rate] shortcode
  • New: [affiliate_logout] shortcode
  • New: affwp_aas_logout_link filter
  • New: affwp_aas_logout_redirect filter
  • Fix: Inactive affiliates could still see the shortcode content

1.0

  • Initial release