Found a great little plugin that allows you to search for, and add, relavent amazon.com links to your WordPress post. I’ve tried this out a bit, and it seems to work pretty well.
You can see the author’s page HERE
I’ve added a div tag with a class so that I can format the link it inputs into the post. Without hacking, it only posts the “a” tag, so you can’t wrap text around it and so on.
In the wp-amazon.php file, search for: title="View
You’ll find two references to this right next to each other. This is the code that the program outputs into your post. Preface the “a” tag with a “div” tag and add a class to it - call the class whatever you like. Also make sure to close the div after the “/a” code.
Here’s what I have in my css file:
.wp-amazon {
float:left;
margin: 3px;
}
That’s all there is to it. Now you can use the wp-amazon plugin and be able to wrap the text around the image, as well as do whateve the heck else you want with it… all because of CSS.







One Comment | Comment or Ping
Elliott
I recently discovered that this plugin conflicts with Iimage Browser… which I really like to use. So, for now I’ll have to deactivate/activate as I need each one… kinda sucks.
Aug 27th, 2005
Reply to “Wordpress Amazon.com Plugin”