• Resolved ferand

    (@ferand)


    Is there a shortcode functionality to use with do_shortcode() ?
    I cannot find a way how i can insert affiliate link into code. I tried using <ta> tag but that gives no result, of course. It’s probably a filter that runs before post content is pasted on page and turns all <ta linkid=”num”> into proper links, but using <ta> in custom page template gives output with same <ta> tag.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author cartpauj

    (@cartpauj)

    <?php echo do_shortcode('[thirstylink linkid="123"]Affiliate Link[/thirstylink]'); ?>

    Thread Starter ferand

    (@ferand)

    Thank you i already found a way. I found it on some github account in gist example that was doing similar functionality. Then i tried to use default shortcode [thirstylink] and it worked.

    Very sad, i was looking for this information for a really long time, searching official website, crawling via google site: ulr feature. I was looking exactly for that and didn’t found anything. Documentation should include it.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to insert link into code ?’ is closed to new replies.