Introduces the [list-pages], [sibling-pages] and [child-pages] shortcodes for easily displaying a list of pages within a post or page.
Introduces the [list-pages], [sibling-pages] and [child-pages] shortcodes for easily displaying a list of pages within a post or page. Both shortcodes accept all parameters that you can pass to the
wp_list_pages() function with the addition of a class parameter.
List pages sorted by title
List pages but exclude certain IDs and set the class of the list to "my-page-list"
[list-pages exclude="17,38" class="my-page-list"]
List the current page's children, but only show the top level
List the current page's siblings and their subpages
The default values are the same as for the wp_list_pages() function except for title_li which defaults to nothing. If a class is not specified, a default class of either "list-pages", "sibling-pages" or "child-pages" is given to the UL tag. In addition, the echo parameter has no effect.
In addition to the wp_list_pages() arguments, you can also specify:
Requires: 2.5 or higher
Compatible up to: 3.4.2
Last Updated: 2012-9-24
0 of 3 support threads in the last two months have been resolved.
Got something to say? Need help?