Klan1 WP List Subpages
v0.4.1Alejandro Trujillo J. · 2011年8月16日 上架
This one will help you to list all the subpages in a list with links, this one is intented to help WP to be used as CMS.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 2,312
- 最近更新
- 2015年9月17日
需要 WordPress 2.7+已测试到 4.3.34
截图
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]

