Affiliate Area Shortcodes addon

Looking to fine-tune your affiliate dashboard? The Affiliate Area Shortcodes addon for AffiliateWP provides a variety of shortcodes that give you detailed control over how the Affiliate Area is displayed and customized. These shortcodes allow you to tailor the Affiliate Area’s layout and the information shown to affiliates, making it more flexible and customizable for your needs.

In this guide, we’ll walk you through how to install the Affiliate Area Shortcodes addon and how to use each shortcode effectively.

Installing the Affiliate Area Shortcodes addon

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 addon.

Using Affiliate Area Shortcodes

Once the Affiliate Area Shortcodes addon is activated, you can begin using the shortcodes to customize the affiliate dashboard. These shortcodes can be added anywhere on your site to control how different sections of the Affiliate Area are displayed.

Below is a list of the available shortcodes and what they can do:

[affiliate_area_graphs]
Displays the content of the Graphs tab in the Affiliate Area, allowing affiliates to see their performance visually.

[affiliate_area_settings]
Shows the Settings tab, where affiliates can update their account information.

[affiliate_area_creatives]
Displays the Creatives tab, allowing affiliates to access marketing materials such as banners and ad creatives.

[affiliate_area_referrals]
Outputs the Referrals tab, where affiliates can view their referred transactions and related data.

[affiliate_area_stats]
Shows the Statistics tab, which displays the affiliate’s performance metrics.

[affiliate_area_payouts]
Displays the Payouts tab, where affiliates can track their payments.

[affiliate_area_urls]
Outputs the Affiliate URLs tab, where affiliates can generate and share their unique referral links.

[affiliate_area_visits]
Shows the Visits tab, allowing affiliates to see the traffic they’ve driven to your site through their referral links.

[affiliate_area_notices]
Displays notices to affiliates based on their account status. For instance, if an affiliate is pending approval, rejected, or inactive, the relevant message will be shown.

You can also customize these notices using shortcode attributes.

[affiliate_area_notices pending=’Your custom message’]
This shortcode allows you to display a custom message for affiliates whose status is pending approval. Use it to inform affiliates about the next steps or to let them know their account is being reviewed.

[affiliate_area_notices rejected=’Your custom message’]
If an affiliate’s application is rejected, you can use this shortcode to show a personalized rejection message. It helps explain why their application was unsuccessful and what they can do next.

[affiliate_area_notices inactive=’Your custom message’]
This shortcode displays a custom message for affiliates whose accounts are inactive. It’s a great way to encourage inactive affiliates to become active or inform them of actions required to reactivate their account.

[affiliate_area_notices profile_updated=’Your custom message’]
When an affiliate updates their profile, you can use this shortcode to show a confirmation or a thank-you message. It reassures affiliates that their information has been successfully updated.

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]
Displays a logout link for affiliates, which can be placed anywhere on your site.

Additionally, several shortcodes are available to display individual data points from the Statistics tab, giving you even more granular control over the information shown to affiliates:

[affiliate_referrals status=”paid”]
Shows the count of the affiliate’s paid referrals.

[affiliate_referrals status=”unpaid”]
Displays the number of unpaid referrals.

[affiliate_earnings status=”paid”]
Outputs the total paid earnings for the affiliate.

[affiliate_earnings status=”unpaid”]
Shows the unpaid earnings for the affiliate.

[affiliate_name]
Displays the affiliate’s name, as set by the “Display Name” field in their WordPress profile.

[affiliate_name first_name_only=”yes”]
Shows only the affiliate’s first name, as specified in the “First Name” field of their profile.

[affiliate_username]
Outputs the affiliate’s WordPress username.

[affiliate_website]
Shows the affiliate’s website URL, as set in their WordPress profile.

[affiliate_id]
Displays the affiliate’s unique ID.

[affiliate_visits]
Outputs the total number of visits the affiliate has generated.

[affiliate_conversion_rate]
Shows the affiliate’s conversion rate based on their performance.

[affiliate_commission_rate]
Displays the affiliate’s commission rate, as defined by your site’s settings.

Frequently Asked Questions

Can I use multiple shortcodes on the same page?

Yes, you can combine multiple shortcodes on the same page to display different sections of the Affiliate Area or specific data points.

How do I customize the messages displayed to affiliates based on their status?

You can customize the notices shown to affiliates (e.g., pending, rejected, inactive) using the [affiliate_area_notices] shortcode with attributes like pending, rejected, inactive, or profile_updated. For example:
[affiliate_area_notices pending="Your custom message"].

How do I display specific earnings or referral details for affiliates?

You can use shortcodes like [affiliate_earnings status="paid"] to display paid earnings or [affiliate_referrals status="unpaid"] to show unpaid referral counts.

Can I display only certain data points from the affiliate stats?

Yes, you can display specific data points like conversion rate, commission rate, or visits by using shortcodes such as [affiliate_conversion_rate] or [affiliate_commission_rate].


That’s it! The Affiliate Area Shortcodes addon provides a simple yet powerful way to customize your Affiliate Area. With various shortcodes, you can control what content affiliates see, personalize messages based on their status, and break down the data into specific elements. This gives you the flexibility to enhance the affiliate experience and manage the Affiliate Area more effectively.