[WordPress] 外掛分享: LJ Subpages Widget

首頁外掛目錄 › LJ Subpages Widget
60+
安裝啟用
★★★★★
5/5 分(1 則評價)
5480 天前
最後更新
問題解決
WordPress 2.8+ v1.3 上架:2009-09-06

內容簡介

LJ Subpages Widget 可以讓您在選擇的頁面中顯示子頁面列表的選單。

這個外掛是我開發的,因為我需要在側邊欄中顯示子頁面列表的小工具。我發現其他的外掛只會顯示當前頁面中的子頁面。

功能:

顯示所選父頁面的子頁面(從版本1.1開始,如果需要,將顯示當前頁面的子頁面)。
可自訂標題,選擇使用父頁面標題或自己編寫。
與子子頁面兼容。您可以選擇顯示正在顯示的子頁面的子頁面(這取決於您的佈景主題,您的佈景主題必須支持在側邊欄中顯示子選單才能正常使用此選項)。
如果沒有子頁面可顯示,小工具不會輸出任何內容,而不是帶有任何內容的標題。

此小工具是使用新的 WordPress 小工具 API 建立的,因此它支援多個實例複本。因此,這意味著此小工具僅受 WordPress 2.8 及以上版本支援。如果您需要此外掛的 WordPress 版本低於2.8,請在外掛首頁上通過評論與我聯繫。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「LJ Subpages Widget」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

LJ Subpages Widget allows you to display a menu listing subpages from a chosen page.
This plugin was developed as I needed a widget to display a list of subpages in my sidebar. All the other plugins that I found would only display subpages from the current page being displayed.
Features:

Will display the subpages of a chosen Parent page (as of version 1.1 will show subpages of current page if required).
Customizable Title with the choice of using the Parent Page Title or writing your own
Compatible with subpages of subpages. You have the option of displaying Subpages of the Subpages being displayed (This is theme dependant, your theme must support submenus in the sidebar for this option to function as expected)
If there are no subpages to display the widget outputs nothing rather then leaving a heading without any content

This widget was built using the new WordPress Widget API and as such it supports multi instance copies. For this reason it means that this widget is only supported by WordPress 2.8 and above. If you have a requirement for this plugin for a version of WordPress lower then 2.8 please contact me on the plugins homepage via a comment.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon