Support » Plugin: Quick Amazon MP3 Clips » [Plugin: Quick Amazon MP3 Clips] Bug in Amazon ID Tag

  • Just a quick heads-up, on the line of code that specifies the Amazon affiliate tag to pass along, it references the wrong variable. It uses {$tag} instead of {$amazonID}, which makes the affiliate tagging not work as expected.

    Replacing {$tag} with {$amazonID} fixes it.

    Also, suggest adding a “format” variable to pass along to allow for the smaller-format player (the “compact” version). Explicitly adding the line:


    After adding format as an array variable seems to do the trick.

    Otherwise, nice!

Viewing 2 replies - 1 through 2 (of 2 total)
  • thanks for this fix..

    btw, i try to use this plugin in my template using shortcode using

    <?php echo do_shortcode(‘[mp3 artist=”Artist Name” album=”Album Name” songtitle=”Song Title” ]’); ?>

    in my template, and it works..
    is there a possible way to automatic insert artist name using category, and song title using post title, and album name using custom field ‘album’ ?

    i try
    <?php echo do_shortcode('[mp3 artist="<?php the_category(); ?>" album="<?php echo $album; ?>" songtitle="<?php the_title(); ?>"]'); ?>

    but it’s not working..

    I wanted to search via ASIN, so I added the asin to the shortcode definition:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    There’s probably a more elegant way to do it, but it worked for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Quick Amazon MP3 Clips] Bug in Amazon ID Tag’ is closed to new replies.