Amazon Product in a Post Plugin


Amazon Product in a Post Plugin 5.0.0

Update 5.0.0 Details:
Version 5.0.0 of the plugin uses the new Amazon PA API version 5.0. Block are also available.

We added HTML buttons to the shortcodes. See the plugin menu in your admin console, under Amazon Product » Button Settings.


The Amazon Product In a Post plugin can be used to quickly add formatted Amazon Products/Items to any page or post by using just the Amazon product ASIN.


The plugin uses the Amazon Product Advertising API to get product information from Amazon to display on your site. To use the plugin, you must have:
1. An Amazon Affiliate Account
2. Amazon Product Advertising API keys (Root Keys Only).

NOTICE MAY 1, 2018
As of May 1st 2018, Amazon requires you have your affiliate account fully approved before they will grant you access to the Amazon Product Advertising API. This means that you many not be able to use the plugin immediately until you receive access to the API.

If you do not have an Amazon Affiliate Account or Amazon Product Advertising API Keys already, it is free and moderately easy to set up. Once you have an account, install the plugin, enter your Amazon Associate ID and API keys in the Plugin Settings page and you are ready to start adding products to your website!

Amazon’s Product Advertising API Terms of Use requires you have an AWS Access Key ID and Secret Access Key of your own to use. See Plugin FAQs or Getting Started page for links to sign up.


  • Add any Amazon product or item to an existing Post (or Page) or custom Post Type.
  • Monetize your blog posts with custom Amazon Product and add your own Reviews, descriptions or any other thing you would normally want to add to a post – and still have the Amazon product there.
  • Easily add only the items that are right for your site.
  • Add the product to the TOP of the post content, the BOTTOM of the post content, or make the post content become part of the product layout (see screenshots for examples)
  • You can add as many products as you want to any existing page/post content using Shortcodes – see Installation or FAQ page for details.


  • Preformmated display of Amazon Products for easy integration (with various settings)
  • Shortcodes for Adding Products, Product Elements, Product Grids, etc.
  • Add new Page/Post at the same time with “New Amazon Post” feature
  • You can add Product Grid Layouts, Single Product Layouts or Individual Product Elements to Pages/Posts
  • Option to create multiple Pages/Posts from ASINs with Amazon product data auto populated (no need to add separate products)
  • Products can use the Standard product page URL or “Add to Cart” URL (i.e., 90 day Cookie Conversions)
  • Links can be set to open in a new window/tab
  • Custom styling options (via CSS in the settings)
  • Add your own Amazon Buy Button (if desired)
  • Lightbox functionality for larger image popups and additional images (can be disabled).
  • Adjustable Caching of product data to limit API Calls
  • Test feature for verifying Amazon settings are properly set up
  • Debugging Information for troubleshooting issues


  • The more products you add, the more overhead there is for API requests. The caching system tries to optimize the number of requests by grouping the them, instead of doing them individually.
  • Amazon OneLink scripts may cause some links not to work correctly by over-riding the standard product link. If you use OneLink scripts on your site and still want tp add products, try to limit the Amazon OneLink scripts to pages where you will not include products.
  • Amazon Ads may also cause some links not to works correctly. This is the same as for Amazon OneLink.
  • Some Products or Product data is not available via the Amazon Product Advertising API. A perfect case in point, is Amazon Kindle pricing. When this happens, the product will not be displayed, or the requested element will not be displayed in the product output.
  • You must have at least one referral sale every 90 days or you will lose your Amazon Product Advertising Account. If this happens, Amazon will deactivate your Amazon Product Advertising Account and the plugin will no longer display products. You can simply re-sign up for access and change your Amazon Keys in the settings and they will return (products shortcodes and settings are not deleted, they just cannot be displayed).

Basic Shortcode Example:

i.e., using

Shortcode Multiple Titles Example:

i.e., using

Shortcode Multiple Titles Example 2:

i.e., using


Amazon Elements Shortcode Example:

i.e., using

Buy Now
Suggested Price: $21.99
New From: $21.99

Shortcode Grid Layout Example:

i.e., using




After you install the plugin, you need to set up your Amazon Affiliate/Associate ID in the Options panel located in the AMAZON PIP menu under AMAZON PIP OPTIONS. An Amazon Access Key ID and Secret Access Key is REQUIRED. Please be aware of this first and set them up before contacting me about problems, because it will be the first question I ask. No additional adjustments are needed unless you want to configure your own CSS styles. Styles can be adjusted or removed in the Options Panel as well.
WARNING: If you do not add your Amazon Affiliate ID, you will NOT get credit for purchases made using this Plugin.


Adding products is a simple process. There are several ways to add them: To Add a product to an existing page/post:

  • Go into the full edit mode for the post (Post/Edit then select the post).
  • Under the Content editor, there will be a box called Amazon Product In a Post Settings. Maximize it if it is not already fully visible. If you still do not see it, make sure it is selected under “Screen Options”.
  • There are 3 sections to fill out, Active, Location and ASIN (See below for adding via Shortcode).
  • If Active is checked, the product will be live if the post is published.
  • For the Location, pick the spot you want the product to show.
  • Then enter the ASIN in the ASIN field.
  • Save or Publish the post.

To Add a New Product Post, you have 3 options:

  1. You can add a new page/post the regular way (Post / Add New / fill out the items /Publish), and them add the product as outlined above.
  2. You can use the Quick Add Product Feature (called Amazon PIP in the Amazon PIP menu). This is the fastest method for adding a quick product with minimum text. This Method will create a New Post in the selected categories.
  3. You can add a Product via Shortcode to an existing Page/Post.

To Add a product via Shortcode:

  • In the Content editor, add

    where XXXXXXXXXX is the Amazon ASIN/ISBN10 number (you can get this from the Amazon site when looking up products).
  • Update the Page/Post. You can add as many products this way as you like. Keep in mind that there is a call made to the Amazon API for each product added, so adding too many products could cause a noticeable increase in page loading time.
  • Some settings in the individual page/post options will affect the shortcodes – currently, you can use the or ‘‘ options.
  • The individual ‘Product is Active’ option has no effect on products added using the Shortcode. To turn off a Shortcode product, remove the shortcode from the page/post content.

Global Settings

  • Amazon Affiliate ID: Your Amazon Affiliate ID. Remember to add this – if you don’t, you will NOT get credit for any sales.
  • Amazon Public Key: Your Amazon Public Key. If you do not have one, you will need to sign up for one. You can do so here.
  • Amazon Private Key: Your Amazon Private Key. Check out this page for more information on Public and Secret Keys.
  • Your Amazon Locale/Region: The Locale to use for Amazon API Calls (ca, com,, de, fr,, it, cn, es). Default is ‘com’ for US.
  • Language: Language to use for Text and Button (currently only English, French, Italian and Spanish – default is English).
  • Not Available Error Message: The message to display if the item is not available for some reason, i.e., your locale or no longer available.
  • Amazon Hidden Price Message: For Some products, Amazon will hide the List price of a product. When hidden, this plugin cannot show a price for the product. This message will display in the List Price area when that occurs.
  • Hook plugin into Excerpt?: If you want to have the product displayed when the the_excerpt() function is called, select this box. Disable this function if your theme uses short excerpts on pages, such as the home page. You can override this on each individual page/post.
  • Hook plugin into Content?: If you want to have the product displayed when the the_content() function is called, select this box. NOTE: This is the standard call – if you disable both Excerpt and Content, the only way you can add products to a page/post is to add the shortcode (

    where XXXXXXXXXXX is the ASIN or ISBN 10). You can override this on each individual page/post.
  • Quick Fix – Hide Warnings?: IMPORTANT MESSAGE: if you check this box, the plugin will execute the code, ini_set(“display_errors”, 0); to force stop WARNING messages. This can be helpful if your server php configuration has error reporting on and you are getting warning messages. This WILL override any setting you have in your php.ini or php config files. It is not recommended you turn this on unless you need it.
  • Uninstall when deactivated?: CAREFUL WITH THIS!! If you check this box, ALL settings and database items will be removed when you deactivate the plugin
  • Remove ALL traces when uninstalled?: AGAIN, BE CAREFUL WITH THIS!! If you check this box AND the above box, ALL Amazon shortcodes will be removed from posts and pages and all meta data associated with this plugin will be cleaned up and cleared out when you deactivate this plugin. As a safety precaution, both boxes must be checked or data will not be removed. You should also backup your database before using this method, as it does modify post content.
  • Open Product Link in New Window?: If you want to have the product displayed in a new window, check this box. Default is no.
  • Show on Single Page Only?: If you want to have the product displayed only when the page/post is singular, check this box. Default is no.
  • API get method: If you are seeing BLANK products it may be because your server does not support the php file_get_contents() function. If that is the case, try CURL option to see if it resolves the problem. Default is File Get Contents method.
  • Use My Custom Styles?: If you want to use your own styles, check this box and enter the styles in the Product Styles box.
  • Product Styles: This allows you to change the look and layout of your product. You need to know some basic CSS in order to do this, but it is quite simple to completely customize your product.The box contains the DEFAULT layout styles. To modify them, simply check the box next to ‘Use My Custom Styles?’ box, then modify the default styles as you see fit. You can also add your own if needed. Note: sometimes a theme may control the layout of a specific element, like a horizontal bar, and this can throw off the default layout. If your theme does this, you can add an new style to override the theme style for just the specific element you need. For example: if your theme uses ‘border:10px;’ for all images in your content and you want the product image to have no border, you can modify this by adding the following to your styles:

    adding the ‘!important’ indicator forces the browser to use this style instead of your themes default style.

Frequently Asked Questions

See the Installation Page for details on setting up the Products.  A more detailed FAQ will come as questions arise.
For more details, see the “Getting Started” page for help on getting approved.

How do I get Access to the Amazon Advertising API?
Effective May 1, 2018, your Amazon affiliate account needs to be fully approved before you can gain access to the API. So this means you cannot use the plugin right away if you do not already have an approved affiliate account prior to this date. To be fully approved, you need to have everything set up on your site (it must be live and have some product links already added). Additionally, you must also have the Amazon Affiliate disclaimer and follow all the terms of use.

It could be several things. The FIRST thing to check is the AMAZON Public and Private/Secret Keys in the options page. If they are blank, you need to sign up for your own from amazon. You can sign up here to get your own. Without it, your products will be subject to the limits of the built in API Keys – which are limited to the number of calls per hour. Once that limit is reached, no more products will be displayed until it resets. Amazon changed this on 10/15/2010, so if it worked before and is not working now, that should be your first course of action. Another common cause, is the method of the api call. By default, it is set to use “file_get_contents”, but since some servers do not allow this method you may need to use the older CURL method. Change this in the options page and then check to see if the problem is resolved.

My Products only display a blank image and a “()” for the title – what is wrong?
See the above question and answer – the cause and fix are the same.

Can I uninstall everything if I don’t want to use the plugin anymore?
Yes. With version 2.0 forward, if you want to remove EVERY TRACE of the plugin, you can (There is also a less permanent removal if you you think you may want it back in the future). The full removal can be initiated by checking “Uninstall when deactivated” AND “Remove ALL traces when uninstalled” in the options page – then deactivate the plugin as usual. This will remove ALL traces of the plugin… that means: the database, options, post meta values, and shortcodes in posts and pages. The partial removal can be initiated by checking only the “Uninstall when deactivated” option, then save and deactivate the plugin as usual. This will remove the database (which is only cached products) and the basic options. All meta and shortcodes will remain.

How do I add a product? To Add a New Product Post, you have 3 options:

  • You can add a new post the regular way (Post / Add New / fill out the items /Publish), and them add the product as outlined above
  • You can use the Quick Add Product Feature (called Amazon PIP in the Amazon PIP menu). This is the fastest method for adding a quick product with minimum text. This Method will create a New Post in the selected categories.
  • You can add a Product via Shortcode to an existing Page/Post.

How do I use the Shortcode?
To Add a product Via Shortcode, go to the Content editor for an existing page/post (or create a new post/page), add

where XXXXXXXXXX is the Amazon ASIN/ISBN10 number. Then update or save the Page/Post. You can add as many products this way as you like. Just keep in mind that there is a call made to the Amazon API for each product added, so adding too many products could cause a noticeable increase in page loading time. Can I add the shortcode to the Sidebar Widgets? Yes, but you will need to modify your functions.php file to do it at this point (an update will be added to a future version to allow this natively). Add this to your functions.php file for your theme (that way it will not be overwritten when the plugin is updated)

This checks to make sure the plugin is installed and if so, adds the filter to the widget text. Keep in mind you may need to style the products to work in your sidebar theme.

My Products are coming up blank – what do I do?
Most likely the reason is your server does not support external URL call using the file_get_contents() function. If you don’t have access to your sites php.ini file to change the settings (most people don’t), then on the options pages for the plugin, change the API get method to “CURL” and save the settings. This will fix the problem in most cases.

I Want to Change the Look of the Products – can you do that for me?
I would love to say yes, but we cannot make custom changes for everyone that asks – there are just not enough hours in the day – if you REALLY want us to do it for you, contact us – and for a small fee, we will give you whatever look/style you want. Keep in mind that your theme has a lot to do with the way your products look. You can tweak the look yourself if you have experience with CSS styles. The options page have a style for each element displayed in the product, so you can tweak it however you like. If you screw it up – just reset it back to the default and start over.

My product shows up fine, but there is no price – what’s wrong?
Some products on are provided my external vendors. If a vendor want to hide the price from others until a certain price is reached, they have that ability. When that occurs, Amazon will NOT send the price in the API call – so no price will be displayed. You can edit the custom message that is displayed in the options panel if you wish.

Great Plugin! How do I donate to the cause?
Excellent question! The plugin is provided free to the public – you can use it however you like – where ever you like – you can even change it however you like. Should you decide that the plugin has been a great help and want to donate to our plugin development fund, you may do so here.


  • This is more of a ‘clean-up’ update to fix little things, removed unused items and add helper items in anticipation of Gutenberg update.
  • Removed: Removed old styles that were no longer in use. (9/5/2018)
  • Removed: Removed old scripts in amazon-admin.js that were no longer in use. (9/5/2018)
  • Removed: Removed Default styles option from database – no longer needed. (9/5/2018)
  • Added: Added new styles for HTML buttons and grid items. (9/7/2018)
  • Added: Added default button style to amazon-grid.css. (9/7/2018)
  • Added: Added HiResImage to result array for access to hires images if available. (9/8/2018)
  • Added: Added Filters to result array images: ‘amazon-product-main-image-sm’, ‘amazon-product-main-image-md’, ‘amazon-product-main-image-lg’, ‘amazon-product-main-image-hi’. (9/8/2018)
  • Added: Added libxml_use_internal_errors(true) to xml parsing for better error handeling. (9/8/2018)
  • Added: Added new HTML button replacement to all shortcodes. See Button Settings in plugin settings for usage. (9/10/2018)
  • Added: Added some missing options to remove on uninstall when ‘remove all traces’ is checked. (9/10/2018)
  • Update: Updated Test API call with defined constants instead of option calls. (9/7/2018)
  • Update: Updated Test API call keywords and call to random product and page for different results. (9/7/2018)
  • Update: Updated Test API call Response Group because Large was not needed. (9/7/2018)
  • Update: Updated Test API call Debug checks and Error notice outputs on falure. (9/7/2018)
  • Update: Updated script enqueue order so custom styles load after other plugin styles. (9/9/2018)
  • Bug Fix: Fixed internal use filters for adding shortcode tabs and content to Shortcode Usage Page. (9/10/2018)
  • Bug Fix: Fixed shortcode product filters – were filtering entire result array each time instead of just current product. (9/10/2018)

  • Bug Fix: Fixed some translations that were not correctly set up. (9/2/2018)
  • Bug Fix: Fixed double filter application on some product label elements. (9/2/2018)
  • Bug Fix: Fixed admin style/js enqueue on translation loading. (9/2/2018)
  • Bug Fix: Fixed translations loading issue that was preventing languages from loading. (9/2/2018)
  • Removed: Removed some JavaScript debug console logging that was still present but not needed. (9/2/2018)
  • Admin Style Change: Fixed CSS layout on shorcode help pages. (9/2/2018)

  • Update: Removed debug code that made it into production version. (8/29/2018)


  • Bug Fix: Fixed many Undefined Variables and Undefined Index Warnings/Notices. (8/29/2018)
  • Bug Fix: Traslation file was not being loaded correctly. Made adjustment to hopefully fix issues. (8/22/2018)
  • Bug Fix: Fix “Empty Needle” Warning in amazon-product-in-a-post-aws-signed-request.php when string check was blank. (08/20/2018)
  • Bug Fix: Fix to Cache Ahead functionality. Was calling additional requests in some cases when it should have always used available cache. (08/20/2018)
  • Bug Fix: Fix to shortcode locale parameter usage. Was not changing when a different locale was added via shortcode. (08/20/2018)
  • Update: Translation files Updated. (08/30/2018)
  • Update: Change to add alt text parameter to Main Image. Also includes new ‘appip_alt_text_main_img’ filter to change it if you do not want the default of ‘Buy Now’. (08/22/2018)
  • Update: Change to add alt text parameter to Additional Images. Also includes new ‘appip_alt_text_gallery_img’ filter to change it if you do not want the default of ‘Img – [ASIN]’. (08/22/2018)
  • Update: Change to add alt text parameter to button image and Additional Images. Also includes new ‘appip_amazon_button_alt_text’ filter to change it if you do not want the default of ‘buy now’. (08/22/2018)
  • Addition: Added Subscription Price/length for amazon-grid shortcode when item is a Magazine or other subscription (i.e., Kindle Subscriptions, etc.). Todo – add to other shortcodes. (08/30/2018)
  • Addition: Added some new elements for Gutenberg (not yet active) in prep from WP 5.0 release. (08/23/2018)
  • Addition: Added new filters – ‘appip_metabox_context’, ‘appip_metabox_priority’, ‘appip_meta_posttypes_support’ in prep for Gutenberg. See filters-and-hooks.txt for more info. (08/26/2018)


  • Bug Fix: Fix to undefined variable ‘$appip_running_excerpt’. (07/25/2018)
  • Bug Fix: Fix to uppercase shortcodes ‘AMAZONPRODUCT’ and ‘AMAZONPRODUCTS’ not being rendered correctly. (07/25/2018)
  • Bug Fix: Fix to WP Error, fatal error response in request when transport fails and returns WP_Error object. (08/01/2018)


  • Bug Fix: Fix Open in a New Window functionality – not working for amazonproducts shortcode. (07/18/2018)
  • Bug Fix: Fix to ‘nofollow’ property in amazon-grid shortcode links. (07/18/2018)
  • Update: Change to AMP styles – TODO: Add option to remove if desired. (07/19/2018)
  • Update: WordPress 4.9.7 Compatibility (07/19/2018)


  • RELEASE: This is the first Official Release Update since version 3.6.4. (06/01/2018)
  • Removed: Temporarily Removed Shortcode Editor Button – preparing for blocks with Gutenberg Editor and new Classic Editor button. (05/30/2018)
  • Feature Addition: Added Setting for Future Addition of Amazon Mobile Popover. Will be fleshed out in upcoming version. (05/29/2018)
  • Feature Addition: Amazon Featured Image Integration. This is for creating Amazon Products using the quick create method. Documentation to come.
  • Feature Addition: Added SSL image Support. Should detect https automatically, but to force SSL images, use the option in the advanced settings.
  • Update: Updated options to allow Amazon Featured Image to be turned on or off. (05/28/2018)
  • Update: Re-wrote the Debugging features to include more info about user install of WordPress and to allow sending debug info via email directly from settings page. (05/28/2018)
  • Update: Renamed “Amazon PIP Options” to “Plugin Settings” in menu. (05/31/2018)
  • Update: Fixed Instances of Developer URL to be https. (05/29/2018)
  • Update: PHP7 Compatibility Update (04/30/2018)
  • Update: Changed API Call to use wp_remote_request – works more consistantly than other methods.
  • Update: Changed caching mechanism to better make use of ‘cache ahead’ functions. Reads all ASINs on the page load object prior to trying to load any individual calls so items are cached prior to load in blocks.
  • Update: WordPress 4.9.4 Compatibility
  • Bug Fix: Fix issue with Debugging System. (05/28/2018)
  • Bug Fix: Fix issue with wp_remote call. (04/22/2018)
  • Bug Fix/Update: Fixed image calls. No longer need old method to get images – does not work well with SSL images anyway.
  • Bug Fix: Fix Content and Title creation on Amazon Post creation. Should work better and more consistantly.
  • Bug Fix: Fixed CLEAN shortcode field parameter calls (i.e., ‘title_clean’) so they are more consistant.
  • Bug Fix: Fix call to CURL function in some cases CURL lib has an SSL bug and needs additional settings.
  • Translations: Updated English Translations and added a few settings related translations to French and Spanish. (05/29/2018)


  • Bug Fix: Fix call to CURL function.


  • Bug Fix: Fix bugs in Use Cart URL for shortcodes.
  • Bug Fix: Fix Displaying “blank” products when no product data is returned.
  • Bug Fix: Fix debugging data to be more acurate when there is an error returned.
  • Update: plugin now clears product cache whenever the options are updated for the plugin – to prevent old data from being mis-displayed after update.
  • Update: updated the plugin styles to make element wrapper a block element.
  • Update: modified the `amazon-element(s)` shortcode to allow some ‘clean’ fields that are not wrapped or styled. For example – ‘title_clean’ will return just title name and not the fully tagged link and title name.
  • The current clean fields are:
    Returns Plain Text Only: ‘title_clean’, ‘desc_clean’, ‘description_clean’, ‘price_clean’, ‘new-price_clean’, ‘features_clean’.
    Return URL only: ‘image_clean’, ‘med-image_clean’, ‘sm-image_clean’, ‘lg-image_clean’, ‘full-image_clean’, ‘large-image-link_clean’, ‘link_clean’, ‘customerreviews_clean’


  • Feature Addition: No longer limited to 10 ASINs per shortcode or main product. Amazon still limits 10 per request, but the plugin will now split them out into blocks of 10 and perform the requests.
  • Feature Addition: Added Tabbed options to the Settings page to make it easier to enter settings.
  • Feature Addition: Added ‘Split ASINs’ option to ‘New Amazon Post’ creation page. You can add up to 10 ASINs (comma separated) and if checked, will create corresponding posts for each ASIN so you do not need to create individual ones.
  • Feature Addition: Added ‘amazon-product-search’ shortcode to show search results. Takes parameters for ‘keywords’, ‘search_index’, and ‘item_page’ as well some other parameters of ‘amazon-elements’ shortcode.
    Example [amazon-product-search keywords='disney' search_index='All' item_page='1']. Will write up more on usage soon.
  • Feature Addition: Added ‘use Add to Cart URL’ which changes links to the cart add links to help with 90 day cookie conversion. Select option on settings page.
  • Update: Updated Menu icon.
  • Update: Modified Cache functions to include caching for post list pages (e.g., Archive pages, home posts page, etc.). Select ‘Cache Ahead?’ option on settings page.
  • Bug Fix: Fixed some issues with the wrong locale URL codes for Brazil and Japan locale API requests.
  • Bug Fix: Fixed shortcode requests for new Caching System.
  • Bug Fix: Fix bugs in caching functions that caused Shortcodes and Multiple products to not display for some users.


  • Feature Addition: Add Test Setting Feature to the Options Page.
  • Update: Adjustment to the Signing Method to make sure it was compliant with Amazon change.
  • Update: Change buttons to comply with Amazon Terms (remove logo, changed out with text instead).
  • Update: Made some changes to caching function. Still needs some modification to allow multi-post caching for posts pages.


  • Security Vulnerability Fix (for deleting cache and updating Options)
  • Set limit on number of images for image set on Variants to 10.


  • Fix Styles not loading (dynamic styles did not have correct content type).
  • Added additional Shortcode parameter aliases (show_used, show_list, etc.)
  • Fixed ‘used_price’ shortcode parameter (was not working when used)
  • Fixed ‘container’ and ‘container_class’ parameters to have default values (for amazon-elements shortcode only) (makes styling easier)
  • Added better support for Products with Variant products linked to parent ASIN.
  • Updated styles to version 2.0 (from 1.9) to add better styles for responsiveness.
  • Added new API KEY Signup instructions – old ones were outdated.


  • Fix “New Amazon Post” functionality dues to mis-named functions between versions.
  • Added Options to turn certain features on and off in the MetaBox options.
  • Fixed jQuery for admin – add “New Amazon Post” functionality.
  • Fixed German Limited Translations issue.
  • Updated Caching to not poll the API for any product that is already in the cache – even if it is in a separate call not related to that call.


  • Security fix to prevent SQL injection. Thanks to for pointing out the vulnerability.
  • Changed style loading to be dynamic via ajax call.
  • Made styles loadable though theme file if desired by user (so no dynamic load is required).
  • Added framework for Contextual Help (help text coming soon)
  • Fix to issue with Add New Amazon Post page not loading.
  • Fix to the Shortcode for amazon-elements.
  • Added a container parameter and container class parameter to the amazon-elements shortcode to make styling multiple ASINs easier.
  • Fixed Readme.txt file for screenshots for WordPress repository.
  • Basic template integration (for future use – or if you are good at hooks and filters and can figure it out on your own – go ahead – the structure is there!)
  • Removed traces of Developer Keys at Amazon’s request.
  • Added Amazon Elements shortcode to add bits and pieces of a product to a post – very handy for making a custom layout.
  • Added Amazon Cache Viewer – allows you to manually delete a product cache to initate a new amazon Call. Caches are stored for 60 minutes and updated as the calls are needed.
  • Added Getting Started page to help users set up affiliate and API Key signup. This is becoming more and more complex, so a little help was needed.
  • Added Shortcode Help Page to give examples of how to use the shortcodes effectively.
  • Added feed driven FAQs page – easier for me to update FAQs on the fly that way.
  • Added several Filters and Hooks – will lay them all out in next revision.
3.1 to 3.5.0 were development versions.
3.0 (beta only)
  • Added New Shortcode

    (instead of

    – old method will still work
  • Added Bulk API Call to limit number of calls to API (can use up to 10 ASINs at one time)
  • Updated the depricated function calls
  • Increased API return values for use in theme – puts all items in the array now
  • Updated styles to include some new elements
  • Updated database field for amazoncache table to allow for larger data size of cached XML body (as API can now return up to 10 itmes at a time)
  • Updated aws_request function
  • Wrapped generic helper functions in !function_exists wrapper to eliminate conflicts with some other Amazon plugins.
  • Updated Install function with styles and database upgrade
  • Added amazon icon button to editor to easily add shortcode.
  • Added new parameters to shortcode to allow custom additions to any post/page:
  • asin – this is the ASIN or ASINs up to 10 comma separated
  • locale – this is the Amazon locale you want to get the product from, i.e., com,, fr, etc. default is your plugin setting
  • desc – using 1 shows Amazon description (if available) and 0 hides it – default is 0.
  • features – using 1 shows Amazon Features (if available) and 0 hides it  – default is 0.
  • listprice – using 1 shows the list price and 0 hides it – default is 1.
  • partner_id – allows you to add a different parent ID if different for other locale – default is ID in settings.
  • private_key – allows you to add different private key for locale if different – default is private key in settings.
  • public_key – allows you to add a different private key for locale if different – default is public key in settings.
  • New Shortcode would be used like this:
    • If you want to add a .com item and you have the same partner id, public key, private key and want the features showing
    • If you want to add a .com item and you have a different partner id, public key, private key and want the description showing but features not showing:
    • If you just want to use your same locale but want 2 items with no list price and features showing:
    • If you just want 2 products with regular settings:
    • If you want to add text to a product:


  • Updated Amazon API Call to the latest version. REQUIRED by Amazon.


  • Added Database for caching api calls (10/20/2010)
  • Added Options for Private and Public Keys in the options panel. (10/22/2010)
  • Added Options for Complete Removal and Partial Removal of Plugin on Deactivate. (10/24/2010)
  • Added new error checks to comply with API changes.
  • Added new Display checks to not display anything on error (except an HTML Comment in the code) (10/24/2010)
  • Fixed option naming convention to resolve a few issues with previous versions (10/24/2010)
  • Fixed some code to resolve headers sent issues. (10/23/2010)
  • Modified Style calls to fix issues with earlier versions upgrading to newer version (10/23/2010)
  • Updated FAQs (10/24/2010)


  • Fix to WordPress Core location assumption. Caused Problem when WP core was located outside root. (1/3/2010)
  • Added German Language. (special thanks to Henri Sequeira for translations). (1/3/2010)


  • fix to not defined function error. (12/28/2009)


  • Added Fix for users without encoding functions in PHP4 to be able to use. This may have caused some problems with users on 1.7. (12/21/2009)
  • Added Options for Language selection. (12/21/2009)
  • Added French Language and buttons (special thanks to Henri Sequeira for translations). (12/21/2009)
  • Added Lightbox type effect for “View Larger Image” function.(12/22/2009)
  • Modified Style Call to use a more WP friendly method to not rely on a “guess” as to where the core WP files are located. (12/22/2009)
  • Fixed Open in new window functionality – was not working 100% of the time. (12/22/2009)


  • Add Curl option for users that cant use file_get_contents() for some reason or another. (12/1/2009)
  • Added Show on Single Page Only option to Options Page.(11/30/2009)
  • Added a way to change encoding display of prices from API if funny characters are showing.(12/1/2009)


  • Added Options to let admin choose if they want to “Hook” into the_excerpt and the_content hooks in Main Options with override on each post/page.(10/3/2009)
  • Added Open in a New Window Option (for Amazon button) in Main Options with override on each page/post.(10/3/2009)
  • Added “Show Only on Single Page” option to individual post/page options.(10/4/2009)
  • Added Shortcode functionality to allow addition of unlimited products in the post/page content.(10/4/2009)
  • Added “Quick Fix – Hide Warnings” option in Main Options. Adds ini_set(“display_errors”, 0) to code to help some admins hide any Warnings if their PHP settings are set to show them.(10/3/2009)
  • Fixed Array Merge Warning when item is not an array.(10/3/2009)
  • Fixed “This Items not available in your locale” message as to when it actually displays and spelling.(10/3/2009)
  • Added Options to let admin add their own Error Messages for Item Not available and Amazon Hidden Price notification.(10/3/2009)
  • Updated Default CSS styles to include in Stock and Out of Stock classes and made adjustments to other improper styles. (10/3/2009)


  • Remove hook to the_excerpt because it could cause problems in themes that only want to show text. (9/17/2009)


  • Added method to restore default CSS if needed – by deleting all CSS in options panel and saving – default CSS will re-appear in box. (9/16/2009)


  • Added new feature to be able to adjust or add your own styles. (9/16/2009)


  • Fix to image call procedure to help with “no image available” issue. (9/15/2009)


  • Minor Fixes/Spelling Error corrections & code cleanup to prep for WordPress hosting of Plugin. (9/14/2009)


  • Plugin Release (9/12/2009)