How To Remove Old, Unused Shortcodes Left Behind By Deactivated WordPress Plugins
This is something I run into a lot when looking at people’s sites…
Someone will deactivate a plugin they were using previously using and it leaves a nasty shortcode behind.
Here’s an example from this site:
I was using a plugin called CovertPlug and using a shortcode in or below all of my blog posts to display optin forms.
When I deactivated and deleted the plugin, it left the shortcode at the bottom of each post –
Obviously, going through each post individually and removing the shortcode left behind would be a huge waste of time.
The easy solution to solving this problem without going post by post deleting shortcodes left behind by plugins is by installing a plugin called Remove Orphan Shortcodes (I know, the name of the plugin sounds a little depressing).
There’s no settings associated with the plugin. Simply install and activate it.
All of the shortcodes left behind by plugins will now be deleted from all of your posts and pages.