Elliott\'s Moleskine

Avatar

A frayed Moleskine notebook with silky pages, optimized for digital delivery.

Wordpress Amazon.com Plugin

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.

The Zen of CSS Design : Visual Enlightenment for the Web (Voices That Matter)

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

  1. 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.

Reply to “Wordpress Amazon.com Plugin”

My Lifestream

What I'm up to accross the web. See more...


Yesterday

twitter (feed #7) 9:43am Posted a tweet on Twitter.
iElliott: #1 and #2 by yours truly: RT @mashable: Happy Internet Dependence Day! - http://bit.ly/3nxPMB

July 2nd

delicious (feed #3) 3:34pm Bookmarked a link on Delicious.
twitter (feed #7) 11:38am Posted a tweet on Twitter.
iElliott: RT @kaliphonia: Great article from Fast Company: RT @thecreativepenn: Amazon Taps Its Inner Apple http://snipr.com/l89vb

July 1st

twitter (feed #7) 4:39pm Posted a tweet on Twitter.
iElliott: RT @kaliphonia: I think all social networking sites should add the option to add someone to your enemies list.
twitter (feed #7) 4:21pm Posted a tweet on Twitter.
iElliott: Celebrate 10 years of Moonfruit (isn't that cheese?) and win a MacBook Pro http://bit.ly/96bxC #moonfruit

Search My Book

Lijit Search