How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support Affiliate_link shortcode not loading url

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3501
    cafn
    Participant

    Hi there.

    I’ve added two shortcodes with affiliate_link under a review Post. Yet, on the post itself, the button shows, but the link is not completed

    I have the following code:

    [affiliate_link title=”teste” id=”teste”]Button text[/affiliate_link]

    This is the affiliate link:

    https://i.gyazo.com/347343d91cb3539605fd50479a85181b.png

    And on post it shows like this:

    https://i.gyazo.com/5804a1b447435bfd86053615beaefa75.png

    I’m using poka theme v2.0.4 (using a child)

    Thanks

    #3511
    admin
    Keymaster

    Hi!

    The correct use of the shortcode is the following:

    `[affiliate_link id=”126″]Your button text[/affiliate_link]`

    The title attribute does not exist. So the text of the button is the “Your button text” and this you should replace.

    Also if you are inside a review you can discard the ID attribute and use only:

    `[affiliate_link]Button text[/affiliate_link]`

    and the button will return the affiliate link of this review.

    The ID attribute is handy if you want to add an affiliate button to a page/post/etc outside the review page.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.