Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t 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.

Subpage Listing

Allows you to display a list of the child pages of the currently viewed page.

Advanced Usage

Blank pages will automatically be given a navigation tree. This allows you to quickly create "container" pages (all you do is fill in a title, and choose the page's parent.)

If you would like to insert the navigational tree manually (that is, surrounded by text of your choosing), use the "Subpage Listing" quicktag that will show up on the Write Page screen (sorry, no RTE support at this time). This will insert the tag: which will be replaced by the listing of the subpages.

Note: when inserting the tag manually, make sure that there is a blank line both above and below the tag, so as to ensure proper handling of your surrounding paragraphs by WordPress.

Version 0.6 was a massive update that added a bunch of new functionality. The ability to show the current page's parent has been added, as well as the ability to show the current page's siblings. You can also suppress the showing of children, and show only siblings, parents, or both. To use these features within a post, use this syntax: The first "parameter" is the depth you want to show. You can set this to 0 to suppress display of children. The second "parameter" is a boolean switch for display of the parent page. The third "parameter" is a boolean switch for display of sibling pages. All are optional, although if you want to set the second "parameter", you also have to set the first, and if you want to set the third, you have to set all three.

There is also a new function for use in your templates. Many people wanted to show subpages or siblings in their sidebar, so now you can do that. <?php txfx_wp_subpages(); ?> is the most basic form, but it can take many parameters.

<?php txfx_wp_subpages(5, false, false, '<ul>', '</ul>', true); ?>

will show 5 pages deep (first parameter), hide the parent (second parameter), hide the siblings (third parameter), wrap the whole thing in '

    ' and '

' (fourth and fifth parameters), and will echo the result (sixth parameter). These happen to be the default settings, that I have just illustrated.

Requires: 2.0 or higher
Compatible up to: 2.1.2
Last Updated: 5 years ago
Active Installs: 1,000+


3 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.