Title: Remove Orphan Shortcodes
Author: Meks
Published: <strong>7. maj, 2013</strong>
Last modified: 29. juli, 2024

---

Søg plugins

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

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Remove Orphan Shortcodes

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

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

 * [Detaljer](https://da.wordpress.org/plugins/remove-orphan-shortcodes/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/remove-orphan-shortcodes/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/remove-orphan-shortcodes/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/remove-orphan-shortcodes/#developers)

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

## Beskrivelse

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

## Anmeldelser

![](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/) 7. februar, 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/) 25. marts, 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/) 14. oktober, 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/) 20. april, 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/) 16. april, 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/) 20. juli, 2020

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

 [ Læs alle 13 anmeldelser ](https://wordpress.org/support/plugin/remove-orphan-shortcodes/reviews/)

## Bidragsydere & udviklere

“Remove Orphan Shortcodes” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

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

[Oversæt “Remove Orphan Shortcodes” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/remove-orphan-shortcodes)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/remove-orphan-shortcodes/),
tjek [SVN repository](https://plugins.svn.wordpress.org/remove-orphan-shortcodes/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/remove-orphan-shortcodes/)
via [RSS](https://plugins.trac.wordpress.org/log/remove-orphan-shortcodes/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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**
 *  Senest opdateret **2 år siden**
 *  Aktive installationer **1.000+**
 *  WordPress-version ** 3.0 eller højere **
 *  Testet op til **6.6.7**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/remove-orphan-shortcodes/)
 * Tags
 * [content](https://da.wordpress.org/plugins/tags/content/)[php](https://da.wordpress.org/plugins/tags/php/)
   [shortcode](https://da.wordpress.org/plugins/tags/shortcode/)[shortcodes](https://da.wordpress.org/plugins/tags/shortcodes/)
   [tag](https://da.wordpress.org/plugins/tags/tag/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/remove-orphan-shortcodes/advanced/)

## Bedømmelser

 3.9 ud af 5 stjerner.

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

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

[Se alle anmeldelser](https://wordpress.org/support/plugin/remove-orphan-shortcodes/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://mekshq.com/)