[WordPress] 外掛分享: PS Sub-pages

首頁外掛目錄 › PS Sub-pages
100+
安裝啟用
★★★★★
5/5 分(3 則評價)
4571 天前
最後更新
問題解決
WordPress 3.4+ v1.0.0 上架:2013-03-25

內容簡介

這個外掛提供了一個「子頁面」小工具,會列出所有在目前頁面下的子頁面。如果目前頁面下沒有子頁面,則不會顯示任何東西。
選項包括:

標題(當然)
當沒有子頁面時,可以設定顯示「沒有子頁面」的文字
當沒有子頁面時,隱藏小工具
當沒有子頁面時,顯示兄弟頁面

儘管這是一個小小的小工具,但我已盡可能使其可配置,並撰寫了乾淨、高效的程式碼(這是一個小小的小工具,不應該拖慢您的網站)。

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin provides a “Sub Page” widget. It lists all of the pages which are children of the current page. If there are no children, it will not display.
Options include:

title (obviously)
“No Sub-pages” text instead of blank (configurable)
hide widget when no sub-pages
show siblings when no sub-pages

While this is a small widget, I have attempted to make this as configurable as possible, with clean and efficient code (this is a small widget, and shouldn’t slow your site down).

延伸相關外掛

文章
Filter
Apply Filters
Mastodon