Remove Orphan Shortcodes

描述

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

評價

2022年10月14日
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.
2021年4月16日
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
2020年7月20日
Does what it promises and never has created problems. Recommended.
閱讀全部12個評價

貢獻者及開發者

“Remove Orphan Shortcodes” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Remove Orphan Shortcodes 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.2

  • Fixed: PHP notice thrown in specific versions

1.1

  • Optimization improvements
  • Fixed an issue with breaking image captions

1.0

  • Initial release