This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Site Page Tree


This plugin adds a widget that will display a hierarchical tree of all pages and subpages on your site. Drag it to be displayed in any widget area.

Each item in the tree is the title of a page or subpage on your site, which is a hyperlink that will navigate the browser to that page. A deep hierarchy of a large number of pages and subpages is thus reduced to a neatly organized and easily accessible menu. Pages at the same hierarchical level are displayed in alphabetical order.

On a page load, the tree will automatically expand only the branches necessary to reveal and highlight the page currently being viewed. “Expand All” and “Collapse All” features allow you to easily open up and close the entire tree to help find a page buried somewhere in the hierarchy. Reclaim all your vertical real estate altogether with “Show” and “Hide” features.

The JavaScript implementation for this plugin is based largely on the Tigra Tree Menu free JavaScript DHTML navigation system.

This plugin is a component of the MIT Educational Collaboration Space project.


  • A collapsed page tree.
  • A fully expanded page tree.
  • A partially expanded page tree. The page tree will automatically expand in a limited manner, in order to reveal and highlight the page which is currently being viewed.


  1. Upload the site-page-tree folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. From the Widgets menu, drag the Site Page Widget to the widget area in which you would like to display the page tree.


Your question here!

Our answer here!

Contributors & Developers

“Site Page Tree” is open source software. The following people have contributed to this plugin.


Translate “Site Page Tree” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.




  • show/hide mechanism reimplemented using jquery. The default state is “hidden,” state selection is maintained during session with a javascript cookie
  • stylesheet added to plugin directory and registered/enqueued by plugin


  • removed some hard coded styling and put in some classes instead


  • removed addslashes() from line 185 that was causing post titles to display escaped
  • list pages by menu_order field instead of alphabetical


  • Initial public release.