Sometimes you may want to show the referring affiliate’s contact details to the user. You can do this simply by using one of the shortcodes explained below:
Affiliate Details Shortcode:
You can display certain details for the referring affiliate on your site using the “wp_affiliate_referrer_details” shortcode.
The following example shows you how to display the email address of the affiliate who sent the visitor in to your site.
[wp_affiliate_referrer_details info="email"]
More Shortcodes Examples
You can use the following shortcodes to show various details of the referring affiliate:
The following will show the firstname:
[wp_affiliate_referrer_details info="firstname"]
The following will show the lastname:
[wp_affiliate_referrer_details info="lastname"]
The following will show the company name of the referrer (if any):
[wp_affiliate_referrer_details info="company"]
The following will show the state of the referrer (if any):
[wp_affiliate_referrer_details info="state"]
The following will show the country of the referrer (if any):
[wp_affiliate_referrer_details info="country"]
Leave a Reply