该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

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]

屏幕截图

  • easy to use
  • pretty output

安装

  1. 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/.
  2. Upload k1-page-listing directory to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. All ready

常见问题

Have some configuration file?

No.

I want to use better CSS

Put on your THEME folder this file /css/k1-list-pages.cssand 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.

评价

此插件暂无评价。

贡献者及开发者

“Klan1 WP List Subpages” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Klan1 WP List Subpages”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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”.