Current affiliate

The shortcode [yith_wcaf_current_affiliate] allows printing the current affiliate when he/she is in the session.

The shortcode parameters are the following:

  • show_gravatar: (yes/no) shows affiliate’s gravatar
  • show_real_name: (yes/no) shows affiliate’s real name
  • show_email: (yes/no) shows affiliate’s email address
  • no_affiliate_message: shows a message if there is no affiliate in the current session (‘There isn’t any affiliate selected for current session’, ‘yith-woocommerce-affiliates’)

Samples

shortcode

shortcode