Linux 软件免费装
Banner图

Boldtypeco Shortcode and Block Inventory

开发者 boldtypeco
更新时间 2026年11月20日 22:05
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcode blocks cleanup audit orphan

下载

1.0.0

详情介绍:

Removed a page builder, a form plugin or a slider? Their shortcodes stay in your content and show up as raw text like [old_slider id="3"], and their blocks turn into "unsupported block" notices. Before you switch or delete a plugin, you also want to know which pages depend on it. Boldtypeco Shortcode and Block Inventory scans your content and builds one clear report: The plugin also remembers shortcodes that some plugins register only on the front end, so they are not reported as false orphans. Pro add-on An optional paid add-on adds scanning of custom fields and widgets, bulk cleanup of orphan shortcodes and blocks with a preview, scheduled scans with an email report, and WP-CLI commands. The free plugin is complete on its own and is not limited in any way. Privacy The plugin does not send any data anywhere, does not track you and does not load anything from external servers. The report is stored in your own database.

安装:

  1. Install the plugin from Plugins > Add New, or upload the boldtypeco-shortcode-block-inventory folder to /wp-content/plugins/.
  2. Activate it.
  3. Go to Tools > Boldtypeco Shortcode and Block Inventory and click Scan now.

屏幕截图:

  • "Where used" shows every post that contains an item, with edit links.
  • Filters for orphans, type and name, plus CSV export.

升级注意事项:

1.0.0 First release.

常见问题:

What is an orphan shortcode or block?

A shortcode or block that is still in your content but is not registered by any active plugin or theme. Visitors see the raw shortcode text, and the block editor shows an "unsupported block" message.

Does the scan change my content?

No. The scan only reads content. Nothing is edited or deleted.

A shortcode is flagged as orphan, but it works on my site. Why?

Some plugins register their shortcodes only when a front-end page loads. Visit your homepage once, then scan again: the plugin remembers the shortcodes it saw on the front end. If the word is not a shortcode at all (for example [citation needed] in your text), click Ignore.

Which content is scanned?

All post types that have an admin screen (posts, pages, products and other custom post types), plus synced patterns, templates and template parts, in the statuses published, draft, pending, private and scheduled. Developers can change this with the sbaudit_post_types and sbaudit_post_statuses filters.

Will it slow down my site?

No. Scanning happens only when you click Scan now, in small batches. On the front end the plugin does one cheap check per hour to remember registered shortcodes.

Who can run the audit?

Administrators (users with the manage_options capability). Developers can change this with the sbaudit_capability filter.

Is there a WP-CLI command?

WP-CLI commands are part of the Pro add-on.

更新日志:

1.0.0