• Resolved piergiorgio91

    (@piergiorgio91)


    Hi, i’m trying to use PHP code to insert the Amazon Unit in a custom position.

    The code is <?php AmazonAutoLinks( array( ‘id’ => 587 ) ); ?>

    As can you see in this page, it does not appear. Do you know what the problem might be?

    Thank you for your work.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    Maybe a caching pluigin enabled?

    I would do a simple echo test like <?php echo '<p>testing</p>'; ?> and see if it appears.

    Also you should check if the preview page properly displays product by going to Dashboard -> Amazon Auto Links -> Manage Units -> View (of the unit you want to check).

    If you see the post now, there is “testing” under google ad. So it’s not a cache problem. The unit is contextual and visible.

    Plugin Author miunosoft

    (@miunosoft)

    The single quotes enclosing the ID are the culprit.

    Can you try this? Simply copy and paste it.

    
    <?php AmazonAutoLinks( array( 'id' => 587 ) ); ?>
    

    Probably you copied it from the Manage Options table. I’ll make sure to fix that output in the next update. Thanks for asking.

    Right, I could have seen it alone…

    Thank you for your support and sorry for the time that I made you lose!

    Plugin Author miunosoft

    (@miunosoft)

    Not at all. Glad to help!

    Would be appreciated if you could take a few minutes to write a comment on the plugin.

    Thank you.

    Sure!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.