This plugin allows page authors to easily list any child pages of a given page by simply using a new `[childpages]` shortcode.
The basic shortcode to get a page list is
[childpages]. Wherever you have a need to drop of a list of child pages for the page you're currently authoring, just enter that code in either the Visual or HTML editor. The list that results will not be shown with a title, will be one level deep, will not exclude any child pages or authors, and will be sorted by page order and then by title.
To list the child pages with a title, use the enclosing form of the shortcode, like this:
The text between the opening and closing shortcodes will be the title of the resulting list. It is being passed to the
title_li attribute in the
wp_list_pages() template tag.
To change the defaults used to format the list, pass the appropriate parameters in your shortcode, like this:
[childpages depth=2 sort_column=ID]
The parameters you provide are passed to
wp_list_pages(). The following parameters are supported; usage details for these parameters can be found in the WordPress Codex.
For more information, visit the plugin's home page at http://scottierocket.com/wordpress-stuff/sr-childpages.
Requires: 2.5 or higher
Compatible up to: 2.5.1
Last Updated: 9 years ago
Active Installs: 10+
Got something to say? Need help?