Title: Search Shortcode instructions missing
Last modified: August 31, 2016

---

# Search Shortcode instructions missing

 *  Resolved [TalAter](https://wordpress.org/support/users/talater/)
 * (@talater)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/search-shortcode-instructions-missing/)
 * Great plugin, thank you for taking the time to create this.
 * I’ve been trying to figure out how to use the search shortcode.
 * Clicking “Shortcode Usage” in the menu, and then “Search Shortcode” shows an 
   almost blank page. The only content on that page is the text “amazon-product-
   search content”
 * Screenshot: [http://i.imgur.com/PaMzDgI.png](http://i.imgur.com/PaMzDgI.png)
 * Is this feature implemented already, and if so, how can I use it?
 * [https://wordpress.org/plugins/amazon-product-in-a-post-plugin/](https://wordpress.org/plugins/amazon-product-in-a-post-plugin/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Don Fischer](https://wordpress.org/support/users/prophecy2040/)
 * (@prophecy2040)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/search-shortcode-instructions-missing/#post-7167043)
 * TalAter,
    The search shortcode still needs to be documented, as it was added 
   as a last minute item to the the plugin for the last update.
 * In its simplest usage, it works almost identically like the `amazon-elements`
   shortcode, but with a few minor differences, The search code does not use an 
   ASIN, but keywords, and you need to provide a few more items:
    1. **keywords** – required. Space or comma separated keywords to search.
    2. **search_index** – what search index to use (i.e., All, Jewelry, etc. – or any
       valid index for your locale). Default is `All`. See [http://docs.aws.amazon.com/AWSECommerceService/latest/DG/SearchIndices.html](http://docs.aws.amazon.com/AWSECommerceService/latest/DG/SearchIndices.html)
       for more info.
    3. **item_page** – default is 1. But if you want to return results for additional
       pages, you can specify the page number. There are 10 items per page in a normal
       request. I believe the highest page number request is 99 (so 1-99 are valid).
 * Otherwise, everything else is like the `amazon-elements` shortcode – fields, 
   labels, etc., except the shortcode value itself, which is `amazon-product-search`.
 * Here is a sample usage:
 *     ```
       <div>Page 1:</div>
       [amazon-product-search keywords="meatball" search_index="All" fields="title,new-price,sm-image,button" item_page="1"]
       <div>Page 2:</div>
       [amazon-product-search keywords="meatball" search_index="All" fields="title,new-price,sm-image,button" item_page="2"]
       ```
   
 * Hope this helps.
    Warm regards, Don
 *  Thread Starter [TalAter](https://wordpress.org/support/users/talater/)
 * (@talater)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/search-shortcode-instructions-missing/#post-7167185)
 * Thanks Don,
 * A couple of issues.
 * 1. I couldn’t get results for any search index except all (I tried Baby).
 * 2. Is there a way to limit how many results are returned? Change the way results
   are returned?
 * An ideal solution would be for me to be able to show the top 3 most popular products
   for a keyword in a search index. If I could also limit it to only products with
   at least 4 stars, that would be awesome.
 * Thank you.
 *  [posonty](https://wordpress.org/support/users/posonty/)
 * (@posonty)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/search-shortcode-instructions-missing/#post-8466027)
 * What would be the short code to show the searches of, for example: the hard disks
   of the section of reconditioned products?
 *  [posonty](https://wordpress.org/support/users/posonty/)
 * (@posonty)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/search-shortcode-instructions-missing/#post-8466105)
 * I would like to show all those products, how would the short code be?
 * [https://www.amazon.es/s/ref=nb_sb_noss?__mk_es_ES=%C3%85M%C3%85%C5%BD%C3%95%C3%91&url=search-alias%3Dwarehouse-deals&field-keywords=Dispositivos+externos&rh=n%3A3582001031%2Ck%3ADispositivos+externos](https://www.amazon.es/s/ref=nb_sb_noss?__mk_es_ES=%C3%85M%C3%85%C5%BD%C3%95%C3%91&url=search-alias%3Dwarehouse-deals&field-keywords=Dispositivos+externos&rh=n%3A3582001031%2Ck%3ADispositivos+externos)
 *  [Don Fischer](https://wordpress.org/support/users/prophecy2040/)
 * (@prophecy2040)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/search-shortcode-instructions-missing/#post-8466135)
 * The search shortcode currently only uses the condition of ALL so you cannot actually
   change that to Refurbished at the moment (this will be changed in the future).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Search Shortcode instructions missing’ is closed to new replies.

 * ![](https://ps.w.org/amazon-product-in-a-post-plugin/assets/icon.svg?rev=1565235)
 * [Amazon Product in a Post Plugin](https://wordpress.org/plugins/amazon-product-in-a-post-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-product-in-a-post-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Don Fischer](https://wordpress.org/support/users/prophecy2040/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/search-shortcode-instructions-missing/#post-8466135)
 * Status: resolved