跳到内容

Remove Empty Shortcodes

v1.2.0

Tom McFarlin · 2025年3月24日 上架

Automatically removes empty or inactive shortcodes from your content while preserving your original database entries.

正在使用
20+
评分
5.0 / 5
累计下载
1,286
最近更新
2026年7月1日
2 条评价需要 WordPress 6.9+已测试到 7.0.9PHP 7.4+

贡献者

截图

Scanner ready to scan your content for unregistered shortcodes
Scanner ready to scan your content for unregistered shortcodes
Scan results showing unregistered shortcodes found across your site
Scan results showing unregistered shortcodes found across your site
Expanded view showing context preview and edit options for each shortcode
Expanded view showing context preview and edit options for each shortcode
By Post view showing all affected posts with their shortcodes
By Post view showing all affected posts with their shortcodes

Remove Empty Shortcodes helps maintain clean content by removing shortcodes that no longer work or generate output. This commonly happens when:

  • You’ve deactivated a plugin that provided shortcodes
  • You’re trying different plugins and some left behind inactive shortcodes
  • You have shortcodes from plugins that weren’t properly uninstalled

Key Features

  • Automatically removes inactive shortcodes from displayed content
  • Preserves your original content in the database
  • Works with all public post types
  • Handles both self-closing and wrapped shortcodes
  • Admin scanner to find and review unregistered shortcodes
  • On-demand scanning with cached results
  • Ignore specific shortcodes you want to keep
  • Zero configuration required for automatic removal

How It Works

The plugin checks your content for shortcodes when pages are displayed. If it finds shortcodes that:

  • Don’t produce any output
  • Aren’t registered with WordPress
  • Are empty or inactive

It removes them from the displayed content while keeping your original content intact in the database.

Use Cases

  • Clean up content after removing plugins that used shortcodes
  • Remove inactive shortcodes without editing posts manually
  • Maintain clean content for readers and search engines
  • Preserve original content in case you reinstall removed plugins

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums