Support » Plugin: WordPress-Amazon-Associate » Pass Label on Template

  • I have created a template with this code:

    <a href="">%LABEL%</a><img src="" 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>

    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:

  • The topic ‘Pass Label on Template’ is closed to new replies.