>
Download This Plugin | |
Download Elegant Themes | |
Name | List Pages at Depth |
Version | 1.4 |
Author | Ben Huson |
Rating | 0 |
Last updated | 2014-10-03 07:12:00 |
Downloads |
3745
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
List Pages at Depth plugin added 1 bytes of resources to the Home page and 16 bytes of resources to the sample Post page.
List Pages at Depth plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! List Pages at Depth plugin ads no tables to your Wordpress blog database.A more powerful version of wp_list_pages()
which allows you to specify a start depth.
This means you can easily display secondary and tertiary navigation seperately from the primary navigation on your site.
The list_pages_at_depth
function accepts all the same arguments as wp_list_pages
, but has an additional argument called 'startdepth'. Set this to be 0 to display primary navigation, 1 for secondary navigation etc. If you wanted to display secondary navigation with indented tertiary navigation you can use this in conjunction with the depth argument - simply set startdepth to 1 and depth to 2.
<?php
list_pages_at_depth( array(
'startdepth' => 1,
'depth' => 1
) );
?>
The plugin also includes a widget so you can easily add it to your site.
You can contribute and submit bug issues on the plugin's GitHub page.