وردپرس

Create affiliate url for current page


Hi, great plugin! Thanks for making it available, I am currently testing it and considering purchasing. However, I am trying to generate an affiliate url for the current page and cannot get it to work:

As far as I can see, there is not shortcode in SliceWP that allows me to automatically generate the affiliate url for the current page, so I created a code snippet I put into a WPCode as follows (which I trigger with a shortcode that I am placing in a test page) – however it’s not working and I cannot figure out what the issue is as I am not a programmer.

If you wouldn’t mind assisting please, that would be very much appreciated, Thanks!

request));
$referal_link = slicewp_get_affiliate_url( 10 , $current_url );
print($referal_link);

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا