[WordPress] 外掛分享: SCuD – The ShortCode Disabler

首頁外掛目錄 › SCuD – The ShortCode Disabler
10+
安裝啟用
★★★★★
5/5 分(2 則評價)
4379 天前
最後更新
問題解決
WordPress 2.5+ v1.0.1 上架:2012-06-19

內容簡介

當您安裝這個外掛程式時,它會在編輯文章/頁面的畫面上新增一個欄位,讓您可以在這一篇文章/頁面中禁用 ShortCodes。誠然,這個外掛程式可能不會被一般大眾廣泛使用,但如果您是外掛程式開發人員或文件編寫者,您可能會發現它非常有用。

如果您想展示如何使用 ShortCode 的範例,但又不想在文章顯示時啟用該 ShortCode,這個外掛程式就可以幫助您。SCuD 會禁用任何文章內的 ShortCode 處理。

SCuD 被設計成可以防止產生任何不良影響。在文章內容被顯示後,它會再次啟用所有之前禁用的 ShortCodes。這樣,您可能在側邊欄小工具中使用的任何 ShortCode 就可以正確處理。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SCuD – The ShortCode Disabler」→ 直接安裝(推薦)

原文外掛簡介

When you add this plugin, a metabox is added to the edit post/page screens that allows you to disable ShortCodes in that one particular post/page. Admittedly, this plugin may not be widely needed by the general public. However if you are a plugin developer or documenter, you might find it very useful.
If you want to show examples of how to use a ShortCode and not have that ShortCode activate upon display of the post, this plugin will come to your rescue. The SCuD will disable all ShortCode processing for any post.
SCuD is written to prevent any collateral damage. After the post content is displayed, it activates the all previously disabled ShortCodes again. This allows any ShortCodes that you may be using in sidebar widgets to process correctly.

延伸相關外掛

文章
Filter
Mastodon