這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

評價

There are no reviews for this plugin.

貢獻者及開發者

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