[WordPress] 外掛分享: Klan1 WP List Subpages

首頁外掛目錄 › Klan1 WP List Subpages
10+
安裝啟用
尚無評分
3861 天前
最後更新
問題解決
WordPress 2.7+ v0.4.1 上架:2011-08-15

內容簡介

重要訊息:此外掛需要 Klan1 Common WP Functions 外掛:https://wordpress.org/plugins/klan1-functions/

用法

[k1-list-pages mode=table]
[k1-list-pages mode=list]

其他參數:

這些參數是這樣寫的 ‘parameter’ => 預設值

全域參數

‘exclude’ => null 用逗號分隔的 ID 數字列表
‘class’ => null CSS 類別名稱,賦予表格或列表
‘mode’ => “table” HTML 表格或 ul-li 連結列表不帶縮圖
‘orderby’ => “title” 排序欄位
‘order’ => “ASC” DESC 或 ASC

請閱讀:https://codex.wordpress.org/Template_Tags/get_posts

表格模式參數

‘thumbs’ => 1 顯示或隱藏縮圖

縮圖相關參數

‘thumbw’ => 80 寬度
‘thumbh’ => 50 高度
‘thumbzc’ => 1 縮圖是否裁剪
‘thumba’ => “c” 縮圖對齊方式,縮圖是否裁剪

請參閱 TIMTHUMB 說明文件:http://www.binarymoon.co.uk/2010/08/timthumb-part-4-moving-crop-location/

列表模式參數

‘depth’ => 1
‘title’ => null

請閱讀 https://codex.wordpress.org/Function_Reference/wp_list_pages 以取得更好的解釋。

範例:

[k1-list-pages mode=table orderby=date order=desc exclude=3,45]

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.4.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Klan1 WP List Subpages」→ 直接安裝(推薦)

原文外掛簡介

IMPORTANT: This plugin requires Klan1 Common WP Functions plugin: https://wordpress.org/plugins/klan1-functions/
USAGE

[k1-list-pages mode=table]
[k1-list-pages mode=list]

OTHER PARAMETERS:
This are written as ‘parameter’ => default value
Global parameters

‘exclude’ => null Coma separated list with ID numbers
‘class’ => null CSS class to assign to the table or list
‘mode’ => “table” html tables or ul-li link listing without thumb
‘orderby’ => “title” order field
‘order’ => “ASC” DESC or ASC

Please read: https://codex.wordpress.org/Template_Tags/get_posts
Table mode parameters

‘thumbs’ => 1 show or not thumbs

Thumb related parameters

‘thumbw’ => 80 width
‘thumbh’ => 50 height
‘thumbzc’ => 1 Zoom crop or not
‘thumba’ => “c” align image on zoom or crop

See TIMTHUMB documentation: http://www.binarymoon.co.uk/2010/08/timthumb-part-4-moving-crop-location/
List mode parameters

‘depth’ => 1,
‘title’ => null,

See https://codex.wordpress.org/Function_Reference/wp_list_pages for better explanation about this.
Example:
[k1-list-pages mode=table orderby=date order=desc exclude=3,45]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon