Your cart is currently empty!
Referrer User Shortcode Question
—
by
Hi,
We’ve been using the referrer_user shortcode in the footer of our store so customers could see the email of the person referring them. Recently it stopped working. Here’s the shortcode we were using: [[referrer_user]
Looking over the docs, I see that the proper shortcode to use is: [referrer_user direct="true" display="user_email"]
But when I test this using an affiliate link: [https://inlight4vets.com/?associates=39
the shortcode isn’t displaying the email on the store page: https://inlight4vets.com/store/
in the middle part of the footer.
The pages where this is being displayed are excluded from the cache.
Posted in Affiliates Enterprise
Comments
9 responses to “Referrer User Shortcode Question”
Thanks. We have server level caching with WPEngine and they have assured me that caching is off for the pages where we use this. Plus, this just stopped working a couple of weeks ago. Until then, it was working.
I’ve send admin access via your email. It has the subject line ‘Inlight Admin Access’
Hi David,
Sorry, I did not know who that email was.
It seems to work correctly, I have emailed you.
Kind Regards,
Antonio B.
Like I said earlier, this was working (for many months actually) and now it’s not.
We’ve already activated shortcodes in widgets with
add_filter('widget_text','do_shortcode');
so that isn’t the issue.Hi David,
Using your code I can see my affiliate’s email correctly. Maybe are your widgets cached? You can try to disable your cache plugin.
If the problem persists, you can send me dashboard admin access to antonio[at]itthinx[dot]com indicating this topic and I’ll have a look at this.
Kind Regards,
Antonio B.
HI Antonio,
Yes, its running in a widget.
Thanks,
By default shortcodes are not executed on widgets. I have tried with this plugin, and I can see the referrer email correctly on my widget area.
Kind Regards,
Antonio B.
Yes, there’s an affiliate with that link I gave. The email you should see in the footer is [edited].
Like I said, we were using [referrer_user] but that stopped working. I read the docs and tried [referrer_user direct="true" display="user_email"] but that isn’t working either.
Hi David,
I have tried to use this shortcode and it works well.
I can see that you aren’t using the shortcode on the page content. How are you running the shortcode on a widget?
Kind Regards,
Antonio B.
Hi David,
Please check if your affiliate has a wordpress user associated (from Affiliates->Manage Affilaites)
If he has an user, please say me how are you using the shortcode.
Kind Regards,
Antonio B.