內容簡介
支援在你的文章或頁面中使用 [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]
外掛標籤
開發者團隊
原文外掛簡介
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]
