Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Klan1 WP List Subpages

Beskrivning

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]

Skärmdumpar

  • easy to use
  • pretty output

Installation

  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

Vanliga frågor

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.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Klan1 WP List Subpages” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Klan1 WP List Subpages” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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