內容簡介
此外掛可讓您在 shortcode 內容中設定一些文字,以使其顯示為文字而非 WordPress 將其處理為專有短代碼。這對短代碼外掛的開發人員非常有用,因為他們可以給出代碼範例,而不會被呈現和使用者也可以利用它來討論短代碼外掛。
我最初為自己設計了這個外掛,作為 Flattr Shortcode Widget 的開發人員,以便在我的 WordPress 博客上給出如何使用此外掛的範例。
任意部分
要使用shortcode禁用器,請將您希望停用shortcode的測試放在此shortcode的 {content} 變數中:
[sd]{content}[sd]
外掛標籤
開發者團隊
原文外掛簡介
Allows you to set some text inside the shortcode content so that it is shown as text rather than WordPress processing it as a shortcode. Good for developers of shortcode plugins so they can give examples of the code without it being rendered and it can also be used to talk about shortcode plugins.
I origionally made this for myself as the developer of the Flattr Shortcode Widget to be able to give examples of how to use the plugin on my wordpress blog.
Arbitrary section
To use the shortcode disabler, put the test you wish for shortcodes to be disabled on as the {content} variable of this shortcode:
[sd]{content}[sd]
