[WordPress] 外掛分享: Klan1 WP List Subpages

前言介紹

  • 這款 WordPress 外掛「Klan1 WP List Subpages」是 2011-08-15 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2015-09-16,距離現在已有 3518 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.7 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

k1-j0hnd03 |

外掛標籤

sub | klan1 | pages | list pages | page listing |

內容簡介

重要訊息:此外掛需要 Klan1 Common WP Functions 外掛:https://wordpress.org/plugins/klan1-functions/

用法

[k1-list-pages mode=table]
[k1-list-pages mode=list]

其他參數:

這些參數是這樣寫的 ‘parameter’ => 預設值

全域參數

‘exclude’ => null 用逗號分隔的 ID 數字列表
‘class’ => null CSS 類別名稱,賦予表格或列表
‘mode’ => “table” HTML 表格或 ul-li 連結列表不帶縮圖
‘orderby’ => “title” 排序欄位
‘order’ => “ASC” DESC 或 ASC

請閱讀:https://codex.wordpress.org/Template_Tags/get_posts

表格模式參數

‘thumbs’ => 1 顯示或隱藏縮圖

縮圖相關參數

‘thumbw’ => 80 寬度
‘thumbh’ => 50 高度
‘thumbzc’ => 1 縮圖是否裁剪
‘thumba’ => “c” 縮圖對齊方式,縮圖是否裁剪

請參閱 TIMTHUMB 說明文件:http://www.binarymoon.co.uk/2010/08/timthumb-part-4-moving-crop-location/

列表模式參數

‘depth’ => 1
‘title’ => null

請閱讀 https://codex.wordpress.org/Function_Reference/wp_list_pages 以取得更好的解釋。

範例:

[k1-list-pages mode=table orderby=date order=desc exclude=3,45]

原文外掛簡介

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]

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Klan1 WP List Subpages」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • Klan1 Common WP Functions 》這些函式是為了那些需要不斷調整範本或外掛程式圖片大小的人而設計的。, , FUNCTION: k1_get_post_thumb_url, , DESCRIPTION, , string k1_get_post_thumb_ur...。

文章
Filter
Apply Filters
Mastodon