wp_list_sub_pages
Didier SampaoloThis WordPress plugin is oly one function. It takes exactly the same parameters as wp_list_pages, except for child_of, which is used internally.
When called on in template file, it will list :
* on the homepage of the blog, every page and subpage (default, this can be overriden by parameters)
* on every other page, only the pages with the same top-parent (parent of level 1)
- Upload
wp_list_sub_pages.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place
<?php wp_list_sub_pages(); ?>
in your templates
Reviews
0 out of 5 stars
- Version: 0.1
- Last updated: 15 years ago
- Active installations: 10
- WordPress version: 2.0
- Tested up to: 2.7
- PHP version: false