[WordPress] 外掛分享: List Children

前言介紹

  • 這款 WordPress 外掛「List Children」是 2009-05-19 上架。
  • 目前有 100 個安裝啟用數。
  • 上一次更新是 2025-04-29,距離現在已有 5 天。
  • 外掛最低要求 WordPress 5.3 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 8.0 以上。
  • 有 2 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

theandystratton |

外掛標籤

list pages | nagivation | permalinks | subnavigation |

內容簡介

使用 HTML 註釋列出當前頁面的子頁面或同層頁面的鏈接。

通常用於使用 WordPress 作為簡單 CMS 的內容網站。一些內容分層需要概述頁面,然後是多個子頁面,例如服務頁面。

使用以下短代碼來列出當前頁面的子頁面和 / 或同層頁面:

當前頁面的子頁面按字母順序排序:

[list_children sort_column=”page_title” sort_order=”asc”]

當前頁面的同層頁面按選單順序(降序)排序:

[list_siblings sort_column=”menu_order” sort_order=”desc”]

您可以使用 wp_list_pages() 調用中的大多數屬性:https://codex.wordpress.org/Function_Reference/wp_list_pages

以下將不再適用(已棄用):



原文外掛簡介

Use an HTML comment to list links of the current page’s children or siblings.
Common usage is for content sites utilizing WordPress as a simple CMS. Some content hierarchies call for an Overview page followed by multiple subpages, for example, a Services page.
Use the following shortcodes to list children and or siblings of the current page:
Alphabetical listing of current page’s children:
[list_children sort_column=”page_title” sort_order=”asc”]
List of current page’s siblings, ordered by menu order (descending):
[list_siblings sort_column=”menu_order” sort_order=”desc”]
You can use a majority of the attributes from the wp_list_pages() call: https://codex.wordpress.org/Function_Reference/wp_list_pages
The following will no longer work (deprecated):

各版本下載點

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

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


2.0 | 2.1 | 2.0.1 | 2.2.0 |

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

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon