Additional menu

Easy Affiliate Shortcodes

There are several Easy Affiliate shortcodes you can make use of. They are covered in more detail below.

[esaf_dashboard]

Easy Affiliate will automatically show the Dashboard content on your selected Affiliate Dashboard page. However, if you would like to add text above and below the dashboard, or add it for other content, you can use this shortcode to determine where on the dashboard page the content appears.

[esaf_signup]

Easy Affiliate will automatically show the Signup form on your selected Affiliate Signup page. However, perhaps you want to design this page with a page builder, or maybe it's not working well with your theme. Whatever your reason, you can use the shortcode above to display the Affiliate Signup form wherever you'd like.

[esaf_login]

Easy Affiliate will automatically show the Login form on your selected Affiliate Login page. However, perhaps you want to design this page with a page builder, or maybe it's not working well with your theme. Whatever your reason, you can use the shortcode above to display the Affiliate Login form wherever you'd like.

[esaf_affiliate_application]

Easy Affiliate will automatically show the Affiliate Application form on your selected Affiliate Signup page. However, if you want to show the application on a separate page, you can do so using this shortcode.

[esaf_dashboard_nav]

Easy Affiliate will automatically show the Affiliate Dashboard Navigation menu at the top of your Affiliate Dashboard page. However, if you need to show it somewhere else, you can use this shortcode.

[esaf_show_affiliate_info show="user_login"]

This shortcode will display information about the affiliate who referred the current user. It supports any fields returned by get_userdata() function. But the most commonly used are listed below. Place these inside of the show=”user_login” parameter.

  • user_login – Username of affiliate
  • user_email – Email address of affiliate
  • first_name – Affiliate's first name
  • last_name – Affiliate's last name
[esaf_show_if_is_affiliate]Message in here[/esaf_show_if_is_affiliate]

Use this shortcode to display a message or some other content to your logged-in affiliates only. Other logged-in users will not see the content between this shortcode.

[esaf_show_if_referred]Message in here[/esaf_show_if_referred]

Use this shortcode to display a message or some other content to your guests or users only if they were referred to your site by an affiliate. If they were not referred to your site by an affiliate, they will not see the content between this shortcode.

computer girl

Get Easy Affiliate

There are many good reasons to get Easy Affiliate today, especially the ones I’m going to tell you about right now.