[WordPress] 外掛分享: Clean unused shortcodes

首頁外掛目錄 › Clean unused shortcodes
WordPress 外掛 Clean unused shortcodes 的封面圖片
200+
安裝啟用
★★★★
4.4/5 分(7 則評價)
6 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v2.1.0 上架:2022-09-05

內容簡介

從您的文章內容中移除未使用的短代碼。

如果您有許多頁面、文章或任何帖子類型,其中包含以前使用的外掛未使用的短代碼,那麼您可以使用這個簡單的工具刪除它們。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Clean unused shortcodes」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Clean unused shortcodes helps you find and remove shortcode tags left behind by old plugins, themes, or page builders — without hunting through posts one by one.
The tool lives under Tools → Clean unused shortcodes. Choose which public post types to scan, review the results, preview changes, then clean individual shortcodes or run a bulk cleanup.
Highlights

Scan by post type — posts, pages, and other public types (media/attachments excluded).
Three result tabs — unused (unregistered) shortcodes, used (registered and found), and registered but unused.
Content and excerpts — scans both fields and shows where each shortcode appears.
Batched operations — scan and clean large sites in chunks with a progress bar and cancel option.
Incremental scan — optionally rescan only posts modified since the last run.
Dry-run preview — see before/after snippets per post before saving.
Protected shortcodes — allowlist tags you never want removed (e.g. caption, embed).
Skip on clean all — exclude specific shortcodes from bulk cleanup.
Gutenberg-aware — removes empty wp:shortcode blocks after the inner shortcode is stripped.
Hyphenated names — detects shortcodes like [my-slider] as well as .

Who is this for?

Sites that deactivated plugins but still have [shortcode] tags in content.
Editors who want a clear list of where each tag appears before deleting.
Administrators cleaning up legacy content on staging before going live.

Always back up your database (or test on staging) before running bulk clean operations.

延伸相關外掛

文章
Filter
Mastodon