[WordPress] 外掛分享: WP Js List Pages Shortcodes

首頁外掛目錄 › WP Js List Pages Shortcodes
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
100+
安裝啟用
★★★★★
5/5 分(1 則評價)
5697 天前
最後更新
問題解決
WordPress 2.8+ v1.21 上架:2009-10-23

內容簡介

支援在你的文章或頁面中使用 [tree-pages]、[list-pages] 和 [child-pages] 短碼,以顯示所有子頁面和/或父頁面。這些短碼接受所有可用於 (https://codex.wordpress.org/Template_Tags/wp_list_pages) 函數的參數。

用法

顯示具有相同父級的所有頁面列表:[tree-pages]
顯示所有頁面列表:[list-pages]
按標題排序顯示所有頁面列表:[list-pages sort_column=”post_title”]
排除某些頁面的頁面列表(根據ID):[list-pages exclude=”64,128,233″]
排除一个指定ID的子頁面:[child-pages exclude=64]

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP Js List Pages Shortcodes」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Support for [tree-pages], [list-pages] and [child-pages] shortcodes in your posts or pages to display all child and/or parent pages. The shortcodes accept all parameters available for (https://codex.wordpress.org/Template_Tags/wp_list_pages) function.
Usage
List of all pages with the same parents: [tree-pages]
List of all pages: [list-pages]
List of all pages sorted by title: [list-pages sort_column=”post_title”]
List of pages but exclude some page by ID: [list-pages exclude=”64,128,233″]
List of child pages exclude one page by ID: [child-pages exclude=64]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon