跳到内容

Child Page Tree

v1.0.1

Hans-Helge Buerger · 2015年8月15日 上架

Display a page tree of all child pages of the current site

正在使用
30+
评分
5.0 / 5
累计下载
3,198
最近更新
2016年4月12日
1 条评价需要 WordPress 4.0+已测试到 4.5.33

截图

Append page tree to site without any style
Append page tree to site without any style
Prepend page tree with custom stylesheet
Prepend page tree with custom stylesheet
Example of usage for documentations
Example of usage for documentations
Select box in backend
Select box in backend
Select box in backend
Select box in backend

Child Page Tree adds a select box to the page edit site right above the publish button. Using this select box you can decide whether to add and where to add the page tree. You can either add the page tree at the very top of page (prepend) or add it to the end of a page (append).

The output is a unorderd list with nested lists to reflect the hierarchy of the children. However this list can be changed using the build-in filter child_page_tree_before_output. This filter is applied before the list is added to content.

The plugin ships with basic stylesheet, which adds a icon to each link and does not show the hierarchy of the pages. The handler for this stylesheet ist child_page_tree_style and you can simple dequeue the script using wp_dequeue_style(). Another way to add your own custom style is to override the default style by using a custom CSS plugin. The page tree has an id (ul#child_page_tree) you can use and one class, either .append or .prepend depending its location.

Requirements

  • min. PHP 5.4

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums