설명
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]
설치
- Install the “Klan1 Common WP Functions” plugin. Search for it on
Plugins -> Ad new
WP control panel section or from https://wordpress.org/plugins/klan1-functions/. - Upload
k1-page-listing
directory to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- All ready
FAQ
- Have some configuration file?
-
No.
- I want to use better CSS
-
Put on your THEME folder this file
/css/k1-list-pages.css
and it will be loaded and the default plugin css won’t.Use the
style.css
provided on the plugin folder as example.The FOLDER “cache” must have write access any way.
후기
이 플러그인에 대한 평가가 없습니다.
기여자 & 개발자
변경이력
0.4.1
- CSS Fix
0.4
- CSS Fix
0.3
- Better coding and comments.
- Using the lastest functions names on “Klan1 Common WP Functions” plugin ver 0.3.
0.2
Fixes.
0.1
First relase “as is”.