WordPress.org

Ready to get started?Download WordPress

Forums

WordPress-Amazon-Associate
Pass Label on Template (1 post)

  1. okyes
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic