前言介紹
- 這款 WordPress 外掛「CC-List-Posts」是 2016-12-26 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2022-03-16,距離現在已有 1145 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.7 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
shortcode | pagination | wp_list_pages | wp_list_posts | wp_get_archives |
內容簡介
CC-List-Posts 外掛可以直接使用。
該外掛沒有設定頁面。
啟用後,您可以使用以下列出的參數開始使用 wp_list_posts 函式和/或短代碼。
注意:如果使用整數值的 pagination 參數,該外掛可與 wp_link_pages 內建功能一起使用。
預設值
before: (字串)
- ,
after: (字串)
link_before: (字串) 空字串,
link_after: (字串) 空字串,
type: (字串) postbypost,
echo: (整數) 0,
pagination: (boolean|整數) false,
format: (字串) html
type: (字串) monthly,
limit: (字串) 空字串,
show_post_count: (boolean) false,
order: (字串) DESC,
post_type: (字串) post
注意:該外掛使用 wp_get_archives 函式來列出文章,因此您還可以使用其他參數。完整列表可在 WordPress codex 頁面的文件中查看。
將 wp_list_posts 參數映射到 wp_get_archives
link_before: before
link_after: after
預設用法
函式:wp_list_posts( array( 'pagination' => 50 ) )
短代碼:[wp_list_posts pagination=50]
原文外掛簡介
The CC-List-Posts plugin works out of the box.
There is no settings page for it.
After activation you can start using wp_list_posts function and/or shortcode with the parameters listed below.
Notice: the plugin can be used with the wp_link_pages built-in functionality if you use pagination parameter with integer value.
Defaults
before: (string)
- ,
after: (string)
,
link_before: (string) empty string,
link_after: (string) empty string,
type: (string) postbypost,
echo: (integer) 0,
pagination: (boolean|integer) false,
format: (string) html
type: (string) monthly,
limit: (string) empty string,
show_post_count: (boolean) false,
order: (string) DESC,
post_type: (string) post
Notice: plugin uses wp_get_archives function to list posts, so you can also use additional parameters. A full list is available at WordPress codex page documentation.
wp_list_posts parameter mapped to wp_get_archives
link_before: before
link_after: after
Default usage
Function: wp_list_posts( array( 'pagination' => 50 ) )
Shortcode: [wp_list_posts pagination=50]
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「CC-List-Posts」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Monthchunks 》以以下簡潔的格式按年度顯示每月存檔,並附有指向每個月份的連結:, 2012, 1 2 3 4 5 6 7 8 9, , 2011, 1 2 3 4 5 6 7 8 9 10 11 12, , 2010, 6 7 8 9 10 11 ...。
Archivist 》這個外掛可以擴充文章彙整小工具的一些額外功能,包括限制顯示的彙整文章數量以及決定是否要顯示年度、月度、週度或日度的文章彙整連結。, 只需將 Archivist ...。