by Scott Reilly
4.5 (10 reviews)
Hide Broken Shortcodes
Prevent broken shortcodes from appearing in posts and pages.
Tested up to WP 5.8 (Current: 6.9)
v1.9.4
Current Version v1.9.4
Updated 4 years ago
Last Update on 10 Oct, 2021
Synced 16 hours ago
Last Synced on
Rank
#9,604
-1 this week
Active Installs
400+
—
No change
KW Avg Position
N/A
—
No change
Downloads
25.9K
+4 today
Support Resolved
0%
—
No change
Rating
90%
Review 4.5 out of 5
4.5
(10 reviews)
Next Milestone 500
400+
500+
54
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Need 7 more installs to reach 500+
Rank Changes
Current
#9,604
Change
Best
#
Downloads Growth
Downloads
Growth
Peak
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
4.5
10 reviews
Overall
90%
5
8
(80%)
4
0
(0%)
3
1
(10%)
2
1
(10%)
1
0
(0%)
Tracked Keywords
Showing 0 of 0| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| No keyword data available yet. | ||||
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- 1.9.4
- Last Updated
- Oct 10, 2021
- Requires WP
- 2.5+
- Tested Up To
- 5.8
- PHP Version
- N/A
- Author
- Scott Reilly
Support & Rating
- Rating
- ★ ★ ★ ★ ★ 4.5
- Reviews
- 10
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowSimilar Plugins
WP Adminify – White Label WordPress, Admin Menu Editor, Login Customizer
7K+ installs
#2,735
Master Addons For Elementor - White Label, Free Widgets, Hover Effects, Conditions, & Animations
40K+ installs
#929
Qi Addons For Elementor
200K+ installs
#253
MW
MW WP Form
200K+ installs
#262
WPFront Scroll Top
200K+ installs
#270
Frequently Asked Questions
Common questions about Hide Broken Shortcodes
By default, the plugin only tries to hide broken shortcodes appearing in post/page content, post/page excerpts, and widgets. It does not hide broken shortcodes that may appear in post/page titles, custom fields, menus, comments, etc.
If you want want a shortcode to appear as-is in a post (for example, you are trying to provide an example of how to use a shortcode), can use the shortcode escaping syntax, which is built into WordPress, by using two opening brackets to start the shortcode, and two closing brackets to close the shortcode: [[some_shortcode]] [[an_example style="yes"]some text[/an_example]] The shortcodes will appear in your post (but without the double brackets).
Assuming you want to allow the broken shortcodes 'abc' and 'gallery' to be ignored by this plugin (and therefore not hidden if broken), you can include the following in your theme's functions.php file or in a site-specific plugin: /** * Permit certain shortcodes to appear as broken without being hidden. * * @param string $display The text to display in place of the broken shortcode. * @param string $shortcode_name The name of the shortcode. * @param array $m The regex match array for the shortcode. * @return string */ function allowed_broken_shortcodes( $display, $shortcode_name, $m ) { $shortcodes_not_to_hide = array( 'abc', 'gallery' ); if ( in_array( $shortcode_name, $shortcodes_not_to_hide ) ) { $display = $m[0]; } return $display; } add_filter( 'hide_broken_shortcode', 'allowed_broken_shortcodes', 10, 3 );
Yes.