Title: [Plugin: Amazon Link] Replacing shortcodes after plugin uninstall
Last modified: August 20, 2016

---

# [Plugin: Amazon Link] Replacing shortcodes after plugin uninstall

 *  [nemoprofeta](https://wordpress.org/support/users/nemoprofeta/)
 * (@nemoprofeta)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-amazon-link-replacing-shortcodes-after-plugin-uninstall/)
 * This plugin is without a doubt the most complete plugin for Amazon.
    I only have
   a concern. If in the future I have to uninstall it, all the shortcodes won’t 
   be rendered anymore. Which the fastest and safest way to replace them with actual
   html code? Could a dedicated function be added?
 * [http://wordpress.org/extend/plugins/amazon-link/](http://wordpress.org/extend/plugins/amazon-link/)

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

 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-amazon-link-replacing-shortcodes-after-plugin-uninstall/#post-3070192)
 * If you think it would be useful I could add something, obviously the content 
   generated would be static so it would create hardcoded links to Amazon relevant
   to your default locale.
 * It would need a bit of thought as when doing ‘bulk’ requests of AWS it tends 
   to throttle the requests, so you might end up with a lot of ‘unpopulate’ templates(
   no images, titles, etc.).
 * I’ll certainly look into it,
 * Paul
 *  Thread Starter [nemoprofeta](https://wordpress.org/support/users/nemoprofeta/)
 * (@nemoprofeta)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-amazon-link-replacing-shortcodes-after-plugin-uninstall/#post-3070203)
 * Thank you. What I think it could be useful is something in case I uninstall the
   plugin. Obviously this would required compromises.
    I imagine a situation in 
   which I have tens or hundreds of shortcodes that only Amazon Link can render 
   and for some reason cannot use the plugin anymore. Replacing these shortcodes
   would require to manually search the article on Amazon and insert the HTML.
 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-amazon-link-replacing-shortcodes-after-plugin-uninstall/#post-3070494)
 * A first version of this facility is now in the development version as an Extra
   called ‘Import/Export’ – I’ll probably change the name at some point!
 * [http://downloads.wordpress.org/plugin/amazon-link.zip](http://downloads.wordpress.org/plugin/amazon-link.zip)
 * Currently it has three options,
    - Search -> to search for all shortcodes
    - Test -> To display what it will replace the shortcodes with
    - Replace -> To actual replace the post content
 * The Replace option is currently hard coded to only work on the very latest post
   in the WordPress database.
 * I have not addressed the AWS throttling issue yet…
 * I have created a drop down list of things to replace the shortcode with:
    - Static content – Expand the Shortcode into static content (Not reversible)
    - Hidden Shortcodes – Replace shortcodes with HTML that won’t display in your
      posts (this is reversable)
    - Hidden Shortcode containing Static Content – A combination of the first two(
      this is reversible)
    - Remove Shortcode – Just delete all shortcodes from posts (Not reversible)
 * Still very much work in progress!
 * Paul
 *  Thread Starter [nemoprofeta](https://wordpress.org/support/users/nemoprofeta/)
 * (@nemoprofeta)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-amazon-link-replacing-shortcodes-after-plugin-uninstall/#post-3070495)
 * Thank you, it seems very good.
    Looking forward to the final product.

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

The topic ‘[Plugin: Amazon Link] Replacing shortcodes after plugin uninstall’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-link_070606.svg)
 * [Amazon Link](https://wordpress.org/plugins/amazon-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-link/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-link/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [nemoprofeta](https://wordpress.org/support/users/nemoprofeta/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-amazon-link-replacing-shortcodes-after-plugin-uninstall/#post-3070495)
 * Status: not resolved