Shortcodes


Dashboard Page

This shortcode will display the main affiliate dashboard page.

[couponaffiliates]

Registration Form

This shortcode will display the affiliate registration form on a custom page.

[couponaffiliates-register]

Referrer

This shortcode will display the referrer that is linked to the current visitor/customer (in plain text).

[couponaffiliates-referrer]

If you want to add text before it, then use the parameter “text” like so:

[couponaffiliates-referrer text="Referrer code:"]

You can also format this to be used in a URL by using the “type” parameter and setting it to “url” like so:

 [couponaffiliates-referrer text="Referrer code:" type="url"]

My Coupons

This shortcode will show the coupon(s) that are assigned to the current logged in user (in plain text).

[couponaffiliates-my-coupons]

If the user is assigned to multiple coupons, they will be separated by a comma.


My Referral URLS

This shortcode will show the coupon(s) that are assigned to the current logged in user (in plain text).

[couponaffiliates-referral-urls]

MLA Shortcodes

Show the MLA dashboard:

[couponaffiliates-mla]

Show the MLA subaffiliates network tree:

[couponaffiliates-mla-subaffiliates]

Show the MLA payouts section:

[couponaffiliates-mla-payouts]

Creatives

Show the creatives section in a custom location:

[couponaffiliates-creatives]

Store Credit

Show the users current store credit (built-in system):

[couponaffiliates_credit]