Replies: 0
Hi,
I’m trying to use gamipress_link in a custom template with a do_shortcode, but I can’t get it to work, here’s my code :
$gamipress = do_shortcode('[gamipress_link href="'.$link.'?utm_source=mywonderfulwebsite&utm_medium=link" label="Click here." target="_blank" title="Click here"]');
$result = '<div class="container-fluid text-center"style="padding-top:1%;"><p>Website is loading, please wait. If it doesn't work, '.$gamipress.'</p></div>';
Link opens in a new tab as expected, but points are not added.
Do you have any clue ?
Thanks in advance,
Seb.