
內容簡介
這款外掛可將所有內容按照版面分類,就像報紙一樣。
短碼
[bbec-combo]:建立一個下拉式選單,可用以選擇版面。
選項:id、class、name
[bbec-list]:建立一個無序清單,可用以選擇版面。
選項:id、class
[bbec-active-name]:顯示目前版面的名稱。
模板協助程式
// 返回目前版面物件,或特定欄位。
bbec_current_edition( $field = null )
// 返回最新版面物件,或特定欄位。
bbec_latest_edition( $field = null )
動作
'bbec_edition_created':當建立新版面時。
'bbec_edition_updated':當更新版面時。接受版面 ID 當做參數。
'bbec_options_updated':當更新選項時。接受 POST 資料當做參數。
'bbec_edition_deleted':當刪除版面時。接受版面 ID 當做參數。
語言
英文 (預設)
葡萄牙文 (巴西) (pt_BR)
外掛標籤
開發者團隊
原文外掛簡介
Plugin para categorizar todo conteúdo em edições, como em um jornal.
Shortcodes
[bbec-combo] Build a dropdown with the editions to choose.
Options: id, class, name
[bbec-list] Build a unordered list with the editions to choose.
Options: id, class
[bbec-active-name] Show the name of the current edition.
Template Helpers
// Returns the current edition object, or a specific field.
bbec_current_edition( $field = null )
// Returns the latest edition object, or a specific field.
bbec_latest_edition( $field = null )
Actions
'bbec_edition_created' when a new edition is created
'bbec_edition_updated' when a edition is updated. accepts the edition ID as argument
'bbec_options_updated' when options are updated. accepts the POST data as argument
'bbec_edition_deleted' when a edition is removed. accepts the edition ID as argument
Languages
English (default)
Português Brasil (pt_BR)
