Your cart is currently empty!
Setting up image URL to a individual page
—
by
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 🙂
Posted in Affiliates Pro
Comments
11 responses to “Setting up image URL to a individual page”
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
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
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
I’m glad that works.
I have not tested with Affiliates, but this plugin seems to do that.
cheers
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 .
Hi,
please, can you show us the shortcode and the result code? use pastebin.com please.
cheers
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.
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″>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.
Hi,
yes, that is.
Be careful not to have checked “Affiliate ID encoding” in Affiliates->options.
cheers
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