Remove Orphan Shortcodes

Plugin Banner

Remove Orphan Shortcodes

by Meks

Download
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

  • 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
  • For any questions, error reports and suggestions please visit https://mekshq.com/contact

Love it

By syzygist on February 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!

Why?

By lilunai on March 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.

Fails with Gutenberg Block array attributes

By brumack on October 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.

Did nothing...

By leroy (leroytuttle) on April 20, 2022

of the sort

You're Kidding Right?

By Stef (serafinnyc) on April 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

Good

By Pencho15 (pencho15) on July 20, 2020

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

Excellent Plugin

By niallflynn (wordpressdublin) on April 29, 2020

Does the job! 5 stars

Really nice

By tajdarkhan on November 2, 2018

Thanks a lot, really nice plugin ...

Great plugin!

By Erik Molenaar (erikmolenaar) on November 1, 2018

Great plugin which comes of use when migrating content. Why is this stuff not in WP core??

A great help during development and maintenance

By Bjarne Oldrup (oldrup) on February 4, 2018

Perfect! In a development phase where some half-backed features are temporary disabled or if you disable plugins when troubleshooting, you might end up with unsightly shortcodes here and there. Of course you can ask a client just to ignore it, but its hard for them to focus with shortcodes scattered around. I really like that I can disable my Ajax Search, Forms, Tables, Related Posts etc temporarily without any trace on the front-end. Thanks!

1.2

  • Fixed: PHP notice thrown in specific versions

1.1

  • Optimization improvements
  • Fixed an issue with breaking image captions

1.0

  • Initial release
Back to top