內容簡介
如果您嘗試手動添加一個呼叫框(像文章內容中的側欄),這將是一個繁瑣的過程。您可以編写樣式表來處理此問題,但這對使用Feed閱讀器閱讀您的文章的人沒有用。
因此,需要使用此外掛。在“設置”頁面中定義要使用的樣式,然後創建如下的新呼叫框:
[callout title=”Demo呼叫框。”]這裡是呼叫框內容[/callout]
您可以在http://componentoriented.com/wordpress/insert-callout上實時查看。
歷史記錄
版本1.0
– 第一個版本
版本1.0.1
– 在readme.txt中修正名稱
版本1.0.2
– 修正管理頁面“權限不足”錯誤。
版本1.0.3
– 重新設計了外掛處理程序,使用了正則表達式。
– 允許在一篇文章中使用多個呼叫框。
– 在編輯頁面上添加語法提示。
– 在設置頁面中添加了一個預設樣式。
版本1.0.4
– 修正:呼叫框內部的換行導致其無法處理的問題。
外掛標籤
開發者團隊
原文外掛簡介
Adding a callout box (like a sidebar within a post) is a cumbersome
process if you try to do it by hand. You could code a stylesheet to
handle this, but this won’t work for people who use feed readers to
read your articles.
Hence the need for this plugin. Define the styles you want to use
in the settings page, and then create a new callout box like this:
[callout title=”A demo callout.”]Callout content here.[/callout]
You can see it live at http://componentoriented.com/wordpress/insert-callout
History
Version 1.0
– First release
Version 1.0.1
– Fix name in readme.txt
Version 1.0.2
– Fix “do not have sufficient permissions” error on admin page.
Version 1.0.3
– Plugin processing reworked to use regex.
– Allow multiple callouts per post.
– Add syntax hint on edit page.
– Default a style to settings page.
Version 1.0.4
– Fixed: Line breaks within a callout caused it to not be processed.
