Title: Using Shortcode in another plugin?
Last modified: August 31, 2016

---

# Using Shortcode in another plugin?

 *  [kastengeist](https://wordpress.org/support/users/kastengeist/)
 * (@kastengeist)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/using-shortcode-in-another-plugin/)
 * [http://handywebdeals.com/2016/05/removing-dustdirtanimal-hair-from-laminate-floor-and-carpet/](http://handywebdeals.com/2016/05/removing-dustdirtanimal-hair-from-laminate-floor-and-carpet/)
 * Above is linked to a blog that I want this to work with. I would like to use 
   the AmazonJS Shortcode in another plugin which echos out the shortcode under 
   the post and before the comments, it is called “Recomended Products in theis 
   Post” It essentially finds all the ASIN’s used in the post and loops through 
   them adding the short code. I just am uncertain at this moment how to make that
   happen without editing the AmazonJS script which I do not want to do because 
   of future updates when they come. Thank you kindly in advance for any ideas!
 * [https://wordpress.org/plugins/amazonjs/](https://wordpress.org/plugins/amazonjs/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [kastengeist](https://wordpress.org/support/users/kastengeist/)
 * (@kastengeist)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/using-shortcode-in-another-plugin/#post-7358632)
 * I figured it out, pretty simple with `echo do_shortcode("[amazonjs asin=\"B00005ED8E\"
   locale=\"US\" tmpl=\"Small\" title=\"D・N・A\"]");`
 * N00b to WP Shortcodes…

Viewing 1 replies (of 1 total)

The topic ‘Using Shortcode in another plugin?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazonjs_cbb899.svg)
 * [Amazon JS](https://wordpress.org/plugins/amazonjs/)
 * [Support Threads](https://wordpress.org/support/plugin/amazonjs/)
 * [Active Topics](https://wordpress.org/support/plugin/amazonjs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazonjs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazonjs/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [kastengeist](https://wordpress.org/support/users/kastengeist/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/using-shortcode-in-another-plugin/#post-7358632)
 * Status: not resolved