Hey,
You need to use this shortcode, the logged-in user will be able to see/copy his link. [wp-referral-code var="copy_ref_link"]
Thank you for the answer, a little confused, do I just paste this in the footer and it will show each user their own ref code?
No problem.
For example, if you’re using WordPress block editor you can paste that in shortcode block. same story with elementor and other page builders.
Google how to use shortcodes in wordpress
;
I really appreciate your time and help Shaliior
For some reason I can not get this thing to work, I added it to
https://somenudes.com in the footer, all it shows is the code, I can not upload a screen shot of the page or else I would.
[wp-referral-code var=”copy_ref_link”]
Peace
No Problem
if you’re changing footer.php file
try this:
<?php echo do_shortcode('[wp-referral-code var=”copy_ref_link”]'); ?>
Thanks I had tried that a couple days back, it’s definitely on the page but not showing up at all now.
https://somsnudes.com
| CONTACT
<br>
<?php echo do_shortcode(‘[wp-referral-code var=”copy_ref_link”]’); ?>
<br>
© SomeNudes.com
</size></font></center>
<br>`
This is rather interesting, not a newbie at this and have a few hundred WP blogs, just can not get this to work for me.
Peace`
-
This reply was modified 3 years ago by
somenudes.