Klan1 WP List Subpages Klan1 WP List Subpages

Klan1 WP List Subpages

Created by: Alejandro Trujillo J. - J0hnD03

Rating:
Downloaded: 1k times

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]

Screenshots

  • easy to use
  • pretty output

Categories

Get New Themes & Resources