Title: Remove Orphan Shortcodes
Author: Meks
Published: <strong>Maig 7, 2013</strong>
Last modified: Juliol 29, 2024

---

Search plugins

![](https://ps.w.org/remove-orphan-shortcodes/assets/banner-772x250.jpg?rev=1927391)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/remove-orphan-shortcodes/assets/icon-256x256.png?rev=1522354)

# Remove Orphan Shortcodes

 By [Meks](https://profiles.wordpress.org/mekshq/)

[Download](https://downloads.wordpress.org/plugin/remove-orphan-shortcodes.zip)

 * [Details](https://bal.wordpress.org/plugins/remove-orphan-shortcodes/#description)
 * [Reviews](https://bal.wordpress.org/plugins/remove-orphan-shortcodes/#reviews)
 *  [Installation](https://bal.wordpress.org/plugins/remove-orphan-shortcodes/#installation)
 * [Development](https://bal.wordpress.org/plugins/remove-orphan-shortcodes/#developers)

 [Support](https://wordpress.org/support/plugin/remove-orphan-shortcodes/)

## Description

This is a simple plugin which automatically hides inactive (orphan) shortcode tags
you have used for previous themes and/or plugins. It uses the_content filter to 
search for shortcode tags which are not active and simply removes them from your
post/page content (note the shortode tags won’t be deleted form your content, they
will just be removed temporarily on your website frontend). It is a great solution
if you want to avoid manual removal of old shortcode tags from your entire content.

Remove Orphan Shortcodes plugin is created by [Meks](https://mekshq.com)

## Installation

 * Upload remove-orphan-shortcodes.zip to plugins, like any other plugin, or upload
   unzipped folder remove to wp-content/plugins/
 * Activate the plugin through the “Plugins” menu in WordPress

## FAQ

 * For any questions, error reports and suggestions please visit https://mekshq.
   com/contact

## Reviews

![](https://secure.gravatar.com/avatar/db543a43edf147aecee5c0c31c465e40ebd261c82c93e74e0d223ea03c89789e?
s=60&d=retro&r=g)

### 󠀁[Love it](https://wordpress.org/support/topic/love-it-4253/)󠁿

 [syzygist](https://profiles.wordpress.org/syzygist/) Febrer 7, 2025

This is one of those great little plugins that does only one thing, but by doing
it, can save hours of frustration and hair-tearing. THANK you for this simple solution
to a very common problem!

![](https://secure.gravatar.com/avatar/8f080189793ca2938ce414028a83506770351bed442c112897126685e9949e5c?
s=60&d=retro&r=g)

### 󠀁[Why?](https://wordpress.org/support/topic/why-92/)󠁿

 [lilunai](https://profiles.wordpress.org/lilunai/) Març 25, 2023

I needed to temporarily hide some shortscodes and this plugin works great but… it
has also hidden the Rank Math FAQ blocks which are not orphaned, obviously.I hope
that in the next update it will be corrected. Fingers crossed.

![](https://secure.gravatar.com/avatar/794152d53afe44bc08708c32b5297fe2cdcef688911b9df3f5c6ff08126fbad0?
s=60&d=retro&r=g)

### 󠀁[Fails with Gutenberg Block array attributes](https://wordpress.org/support/topic/fails-with-gutenberg-block-array-attributes/)󠁿

 [brumack](https://profiles.wordpress.org/brumack/) Octubre 14, 2022

Any gutenberg block storing an array in block attributes JSON is flagged as a shortcode.
As most blocks using JSON attributes also use render_callback and server-side rendering,
this causes the block to disappear entirely – broken JSON is hard to parse. Ergo,
don’t use this if you also use ACF, because any repeater or relationship field in
a block can cause the entire thing to disappear.

![](https://secure.gravatar.com/avatar/56a89948caeb32785f2cacae5f485183b92931ab630ea31490baffdfba44b2a8?
s=60&d=retro&r=g)

### 󠀁[Did nothing…](https://wordpress.org/support/topic/did-nothing-18/)󠁿

 [leroy](https://profiles.wordpress.org/leroytuttle/) Abril 20, 2022

of the sort

![](https://secure.gravatar.com/avatar/16108340c2476c907ca2000a3d44a6d450044db2d9351a4d8d92375fb5f110e4?
s=60&d=retro&r=g)

### 󠀁[You’re Kidding Right?](https://wordpress.org/support/topic/youre-kidding-right-2/)󠁿

 [Stef](https://profiles.wordpress.org/serafinnyc/) Abril 16, 2021

Why would anyone want to leave a useless plugin after the cleaning? Make it so it
cleans and can be deleted. Otherwise what’s the point? SMH

![](https://secure.gravatar.com/avatar/75148ead34ef4e9d471f7db7cddee7de7e8f12d75e2127b761dfe814b50c8fbe?
s=60&d=retro&r=g)

### 󠀁[Good](https://wordpress.org/support/topic/good-5620/)󠁿

 [Pencho15](https://profiles.wordpress.org/pencho15/) Juliol 20, 2020

Does what it promises and never has created problems. Recommended.

 [ Read all 13 reviews ](https://wordpress.org/support/plugin/remove-orphan-shortcodes/reviews/)

## Contributors & Developers

“Remove Orphan Shortcodes” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Meks ](https://profiles.wordpress.org/mekshq/)

[Translate “Remove Orphan Shortcodes” into your language.](https://translate.wordpress.org/projects/wp-plugins/remove-orphan-shortcodes)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/remove-orphan-shortcodes/),
check out the [SVN repository](https://plugins.svn.wordpress.org/remove-orphan-shortcodes/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/remove-orphan-shortcodes/)
by [RSS](https://plugins.trac.wordpress.org/log/remove-orphan-shortcodes/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2

 * Fixed: PHP notice thrown in specific versions

#### 1.1

 * Optimization improvements
 * Fixed an issue with breaking image captions

#### 1.0

 * Initial release

## Meta

 *  Version **1.2**
 *  Last updated **2 anys ago**
 *  Active installations **1.000+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **6.6.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/remove-orphan-shortcodes/)
 * Tags
 * [content](https://bal.wordpress.org/plugins/tags/content/)[php](https://bal.wordpress.org/plugins/tags/php/)
   [shortcode](https://bal.wordpress.org/plugins/tags/shortcode/)[shortcodes](https://bal.wordpress.org/plugins/tags/shortcodes/)
   [tag](https://bal.wordpress.org/plugins/tags/tag/)
 *  [Advanced View](https://bal.wordpress.org/plugins/remove-orphan-shortcodes/advanced/)

## Ratings

 3.9 out of 5 stars.

 *  [  9 5-star reviews     ](https://wordpress.org/support/plugin/remove-orphan-shortcodes/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/remove-orphan-shortcodes/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/remove-orphan-shortcodes/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/remove-orphan-shortcodes/reviews/?filter=2)
 *  [  3 1-star reviews     ](https://wordpress.org/support/plugin/remove-orphan-shortcodes/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/remove-orphan-shortcodes/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/remove-orphan-shortcodes/reviews/)

## Contributors

 *   [ Meks ](https://profiles.wordpress.org/mekshq/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/remove-orphan-shortcodes/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://mekshq.com/)