[WordPress] 外掛分享: Hide Unwanted Shortcodes

首頁外掛目錄 › Hide Unwanted Shortcodes
WordPress 外掛 Hide Unwanted Shortcodes 的封面圖片
60+
安裝啟用
★★★★★
5/5 分(3 則評價)
3396 天前
最後更新
問題解決
WordPress 3.0+ v1.1 上架:2011-06-01

內容簡介

您有沒有更換主題或移除外掛後,在您的網誌上發現了許多不需要的短代碼,而它們將顯示為[shortcode id="1234"]?要刪除它們,您需要進行危險的數據庫查詢,這不是您想要的,也無法正確處理它們。

現在,您可以使用此外掛程式來防止它們在網誌上顯示。這個外掛不會從您的數據庫或文章編輯器中刪除短代碼,而是通過在內容中返回空白來防止其顯示在網誌上(公共視圖)。

您可以輕鬆將不需要的短代碼標籤名稱添加到外掛程式的設置頁面中並保存,然後外掛程式將會做其餘事情。無需編寫任何功能或數據庫查詢,該外掛程式將根據保存的短代碼標籤進行隱藏。

如何使用此外掛程式?

安裝和啟用後,請前往“設置”>“隱藏不需要的短代碼”。
點擊進入,您將看到填寫不需要的短代碼標籤的文本框。
請按照那裡的其他說明進行操作。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1) 或搜尋安裝

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

原文外掛簡介

Have you ever switch theme or remove plugin and found that there is a lot of unwanted shortcodes left on blog, and they are showing up as [shortcode id="1234"] ? In order to remove them, you will need risky database queries which is not what you want or what you can handle properly.
Now you can use this plugin to prevent them from showing up on Blog. This plugin does not delete the shortcodes from your Database or Post Editor, instead it prevent them from showing up on Blog (Public View), by returning nothing to content.
You can easily add and save the unwanted shortcode tag name into the plugin setting page, and the plugin will
do the rest. There is no need to write any functions or database queries, the plugin will hide them base on shortcode tag saved.
How to use this plugin ?

After installation and activation, please go to Settings > Hide Unwanted Shortcodes.
Click on it and you will see the textarea for filling in your unwanted shortcodes tag.
Please follow additional instructions there.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon