Your cart is currently empty!
Can I show affiliates permanent on each affiliate area front end?
—
by
Hello, I want to show the affiliates permanent on each affiliate area in front end. Is it possible?
Posted in Affiliates Permanent
—
by
Hello, I want to show the affiliates permanent on each affiliate area in front end. Is it possible?
Comments
5 responses to “Can I show affiliates permanent on each affiliate area front end?”
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.
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.
Hello, yes I need to create a shortcode. Thank you.
Best Regards,
Giulio
Hi,
I hope this code can help you (you need to add it to your theme functions.php file).
Kind Regards,
Antonio B.
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.