Setting up image URL to a individual page

Posted in

Hi There,

I am trying to setup the image URL for my banners so it will display the affiliate URl, but I want to link it to individual pages not to the homepage. I’ve tried a few different options with the shortcode but none of them seem to work correctly. Could you advise how to do this.

EG:

Thank you 🙂

11 Responses to Setting up image URL to a individual page

  1. bitofgrace May 24, 2013 at 12:35 am #

    Hi Antonio,
    What format should the attachment_id=”” be??
    I’ve had no luck in using that method to include a supplied image.

    attachment_id=”/image-address.jpg” ??

    -grace

    • antonio May 24, 2013 at 6:31 am #

      Hi,
      you can find media id: Place the mouse over the media link (in Media menu), and below you will see …post=XX… use this XX.
      XX must be an integer.
      cheers

      • bitofgrace May 24, 2013 at 9:47 am #

        OOoooOOoh 🙂 perfection – thank you!

        Is there any chance you know how this could work with a coupon ID? (to apply a coupon when the link is clicked)

        -grace

        • antonio May 25, 2013 at 6:47 am #

          I’m glad that works.
          I have not tested with Affiliates, but this plugin seems to do that.
          cheers

  2. OzWellness May 19, 2013 at 3:50 am #

    That was meant to read [code] – renders it with th word code before and after URL structure. Sorry, html doesn’t work in the comments .

    • antonio May 20, 2013 at 9:13 am #

      Hi,
      please, can you show us the shortcode and the result code? use pastebin.com please.
      cheers

  3. OzWellness May 19, 2013 at 3:49 am #

    That’s weird, it looks fine in the HTML above. when I put the code you suggested it renders it with before the URL and after the URL before the affiliate ID, which means the link doesn't work when you embedd it.

  4. OzWellness May 19, 2013 at 3:48 am #

    Antonio, that shortcode structure doesn’t seem to work, this is what it does <a href="http://ozwellness.com.au/product-tag/paleo/?ozid=13″>

  5. OzWellness May 18, 2013 at 11:56 pm #

    Thanks Antonia, I’ll give that a go.

    Just one more thing, if an affiliate wants to setup their own link to an individual URL, would they just put their ID on the end of the URL
    eg: http://ozwellness.com.au/product-tag/vegetarian/?affiliates=11

    Just wanted to check so I can make a simple tutorial for them.

    Thanks.

    • antonio May 20, 2013 at 9:04 am #

      Hi,
      yes, that is.
      Be careful not to have checked “Affiliate ID encoding” in Affiliates->options.
      cheers

  6. antonio May 17, 2013 at 1:55 pm #

    Hi,
    you can use “url” attribute, for example: ( XX is the media id)

    [affiliates_affiliate_link url="http://yourdomain.com/pageA/" attachment_id="XX" /]

    If you want render code:

    [affiliates_affiliate_link url="http://yourdomain.com/pageA/" attachment_id="XX" render="code"/]

    cheers

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share