Pass Label on Template
-
I have created a template with this code:
<a href="http://www.amazon.it/gp/product/%ASIN%/ref=as_li_tf_tl?ie=UTF8&tag=%TAG%&linkCode=as2&camp=3370&creative=23322&creativeASIN=%ASIN%">%LABEL%</a><img src="http://www.assoc-amazon.it/e/ir?t=%TAG%&l=as2&o=29&a=%ASIN%" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
My template id is 7:
if I insert this shortcode, no label is showed, but the code works:
[amazon_template template="7" type="ASIN" id="B007GWBAY0"]try content[/amazon_template]
If I insert this code, label is showed, but the rest is truncated:
[amazon_template template="7" type="LABEL" id="B007GWBAY0"]try content[/amazon_template]
show in html
<p>try content</p>
Suggestions:
Will be useful insert a tag in template with local setting:
IT for Italy;
US for united States;
so if geotarget is actived I can customize urls of images in templates
like this:
buy_now_us.gif
buy_now_it.gif
etc.http://wordpress.org/extend/plugins/wordpress-amazon-associate/
- The topic ‘Pass Label on Template’ is closed to new replies.