Xavin’s List Subpages

Adds a tag that you can use in your pages to display a list of it’s subpages.

Author:Jonathan 'Xavin' Spence (profile at wordpress.org)
WordPress version required:2.5.1
WordPress version tested:2.6.2
Plugin version:1.3
Added to WordPress repository:10-09-2008
Last updated:11-09-2008
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:http://www.jonathanspence.com/software/wordpr...
Total downloads:7 389
Active installs:200+
plugin download
Click to start download

This plugin adds the ability to put a tag in your page entry and have it display a list of pages. By deafult it will show the subpages of the page that it is on, but it will accept any of the options the wp_list_pages template tag will except title_li and echo. It is very simple to use, just put [xls] in the entry for your page where you want the list to appear.

There is one option in addition to the wp_list_pages ones. Specifying a css_class will override the default of xls_list for the class of the surrounding ul.

It supports multiple uses of the tag with different options on one page.

Here are a few examples of valid tags:

[xls depth=2]

Shows two levels of the subpages of the current page.

[xls child_of=10 exclude="13, 15, 33"]

Shows all children of the page with id 10, excluding pages 13, 15, and 33.

[xls child_of="0" show_date="modified"]

Shows all pages, and shows the last modified date of each page.

Check the wp_list_pages documentation for all of the possible options.


FAQ