Can I show affiliates permanent on each affiliate area front end?

Hello, I want to show the affiliates permanent on each affiliate area in front end. Is it possible?

5 Responses to Can I show affiliates permanent on each affiliate area front end?

  1. Giulio April 13, 2016 at 12:33 pm #

    Maybe we have not understood well. I would like to show affiliates their affiliates in the affiliate area.
    In practice I have to show to affiliates users their assigned customers as permanent affiliate. Otherwise you can not see who, how and when it was reported because it is not visible anywhere.

    • antonio April 13, 2016 at 2:35 pm #

      Hi,
      the above code display who is the affiliate who referred me.
      This code should display a list with the users who I have referred.
      Kind Regards,
      Antonio B.

  2. Giulio April 12, 2016 at 9:44 pm #

    Hello, yes I need to create a shortcode. Thank you.

    Best Regards,

    Giulio

    • antonio April 13, 2016 at 10:20 am #

      Hi,
      I hope this code can help you (you need to add it to your theme functions.php file).
      Kind Regards,
      Antonio B.

  3. antonio April 12, 2016 at 9:35 am #

    Hi Giulio,
    The affiliate permanent is stored as user meta, so you can use something like this:
    $affiliate_id = get_user_meta( $user->ID, Affiliates_Permanent::REFERRER, true );
    If you need help to create a shortcode, please let me know.
    Kind Regards,
    Antonio B.

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share