Add slick looking Amazon Search widgets to your blog posts in a brain-dead simple way! Just say [search] to add a Search widget anywhere on your blog.
There are many ways to create a Search widget. Here are some:
This creates a 160px widget widget with 1 column and 5 rows.
[search keywords="Nikon DSLR" category="Photo"]
This search widget lets you search through Amazon's 'Camera & Photography' catalog with results for "Nikon DSLR" displayed by default.
[search width="500" columns="2" rows="3"] <br/>
This creates a 500 pixel wide widget with results spanning 2 columns and 3 rows.
[search design="1" color_theme="Pink"] <br/>
This creates a pink themed widget. Make sure to choose a design and color theme that makes the widget blend in with the rest of your page design.
You can select from a range of designs and color themes. These are valid design/color_theme combinations: <br/>
1: Blues, Pistachio, RedGrey, Pink, Pumpkin <br/>
2:Default, Blue, Grey, Orange, Pink, White <br/>
3:Cinnamon, Peppermint, Spearmint <br/>
4:Onyx, Cobalt, Ruby <br/>
5:BrushedSteel, BrushedNickel, BrushedCopper <br/>
[search show_rating="False" show_price="False"] <br/>
This creates a search widget where the star ratings and price for each product are hidden. So you only see the Product title and sub-title for each result.
To get a list of valid categories, see the 'SearchIndex' column on this page: http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/index.html?APPNDX_SearchIndexValues.html
You can set 'width', 'columns' and 'rows' parameters to resize your widget. For e.g., to get a 600px wide widget with 2 rows and 5 columns, I would do something like this:<br/><br/> [search width="400" rows="2" columns="5"] <br/><br/> The value for width should be between 150 and 800.
Add the parameter marketplace="GB". Valid values for market place are: JP, FR, DE, GB, US, CA
= How do I display the product image for each search result?
Due to some funkiness between the Amazon code and the WordPress code, you can't show product images in the widget. If you'd like to try anyway, then try setting the 'show_image' parameter like so:
WordPress doesn't directly let you use shortcodes in the sidebar. Since this plugin uses shortcodes, you can't add this widget to the sidebar 'out-of-the-box'. However, there is a trivially easy 1-line fix for this! Follow these steps: (Note: The steps below have been quoted from http://englishmike.net/2008/07/07/wordpress-quick-tips-3adding-a-shortcode-to-a-sidebar-widget/)
That's all you need to do. Now any shortcodes you add to a sidebar widget will show up correctly.
I already have shortcodes for the Carousel widget (http://wordpress.org/extend/plugins/wp-amazon-carousel/) and MP3 widget (http://wordpress.org/extend/plugins/wp-amazon-mp3-widget/). If there's enough interest in getting the MP3 Clips widget, Slideshow widget, My Favorites, drop me a line at firstname.lastname@example.org and I'll build another plugin for those widgets.
Requires: 2.5 or higher
Compatible up to: 2.5
Last Updated: 6 years ago
Active Installs: 60+
Got something to say? Need help?