Creates a expand/collapse tree for showing all your pages on your site or in your administration "pages" panel.
There are three ways. Simplest is to use the sidebar widget, if your template is widgetized. Simply drag the "Page tree" widget to where you want it - set its name and whether you want to display the tree collapsed or expanded by default, and if you want to show or hide the expand/collapse controls.
There is also a shortcode for including the tree in your pages/posts if you want to. The syntax is:
... for a plain simple tree without controls.
The complete options are
[pagetree expand=0 show_controls=0 only_subpages=0 child_of=0]
... using the same attribute syntax as the function below.
Or you can use the pagetree_public function which lets you use the tree anywhere on your site:
<?php pagetree_public($expand = false, $show_controls = false, $only_subpages = false, $child_of = false); ?>
Defaults are "false" for all options, which gives you a "naked", complete collapsed page tree.
So, just use
pagetree_public() for a simple, naked tree.
This plugin simply provides an easier way for administrators/authors to navigate a large collection of pages in your WordPress installation. It adds a new submenu to your "pages" navigation menu which takes you to a list of all your published pages in a collapse/expand tree.
Well, yes and no. The sidebar widget and template function only displays published pages, since it is meant for use on your public site. The admin tree displays ALL pages.