Prevent broken shortcodes from appearing in posts and pages.
As of April 2026, Hide Broken Shortcodes is a WordPress page plugin with 400 active installations and a 4.5/5 rating from 10 reviews. It has been downloaded 26K+ times in total. Requires WordPress 2.5+ and PHP false+. Available on WordPress.org since 2010. Last updated 4 years ago — may have compatibility concerns. Top alternative: Post Type Switcher.
By default in WordPress, if the plugin that provides the functionality to handle any given shortcode is disabled, or if a shortcode is improperly defined in the content (such as with a typo), then the shortcode in question will appear on the site in its entirety, unprocessed by WordPress. At best this reveals unsightly code-like text to visitors and at worst can potentially expose information not intended to be seen by visitors.
This plugin prevents unhandled shortcodes from appearing in the content of a post or page. If the shortcode is of the self-closing variety, then the shortcode tag and its attributes are not displayed and nothing is shown in their place. If the shortcode is of the enclosing variety (an opening and closing tag bookend some text or markup), then the text that is bein…
| WordPress | 2.5+ requiredTested up to 5.8.13 |
| PHP | false+ required |
…and 6 more changes
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.