Adding Amazon's Quick Linker Widget to WordPress

Amazon provides a Amazon Widget called Quick Linker. This widget can be used to easily add a affiliate link from your blog post back to a product on Amazon. For example here is one for WordPress for Dummies.  If you already have a Amazon Affliate account it is just a matter of logging in and getting the script it generates for you. But where do you paste it? I couldn’t find anything that would tell me. I finally decide to paste it in the header.php file before the body tag. So far it seems to be working correctly.  I did notice that when I edited a post with tags in it for the Quick Linker that the asin attribute was removed from the anchor tags.  I don’t know why that is.  I just put it back in and tried not to edit it again.  If anyone knows of a better way to do this please let me know.

2 Responses to “Adding Amazon's Quick Linker Widget to WordPress”

  1. Sweet Jebus thank you for this post. I pasted that code in several places and could not get it to work. Finally tried header.php right between the closing head tag and opening body tag and it worked.

  2. I’m glad to hear it helped you.