Wp Plugin Amazon Showcase. Coding Confusion.

2 replies
Upon using this plugin. I like it. I get to showcase what I want to in my sidebar with ease.

One issue I have with it. Is that when the user clickouts it doesn't open in a new window.

I'm not a programmer but know a bit and found this section of code. I assumed adding target="blank" would be enough to make it do what I needed but it hasn't worked.

Code:
class AMZSCShowcase {



    var  = '';

    var  = 'New Showcase';

    var  = 'us';

    var  = '';

    var  = 0;

    var  = 'normal';

    var  = array();

    var  = '<div class="amzshcs-item" id="amzshcs-item-[itemIdentifier]"> <a href="[url]" target="_blank">[image]</a> </div>';

    var  = '<div class="amzshcs" id="amzshcs-[showcaseIdentifier]">[showcaseItems]</div>';
I have highlighted the bit where I added target="_blank" in red.

Thanks and your input is highly appreciated. I hope to resolve this soon with a little gudiance from the knowing.

ETA: I have also included the full PHP code attatched to this post.
#amazon #plugin #showcase
  • Profile picture of the author HomeComputerGames
    There isn't some sort of onclick going on with the final output?
    I know some trackers will change hard links to onclick functions.

    Hard to tell without seeing your site's output
    Signature

    yes, I am....

    {{ DiscussionBoard.errors[1405483].message }}

Trending Topics