List Pages at Depth 1.1

Monday, 25th January 2010

Just released an update to the List Pages at Depth plugin for WordPress.

This update fixed a pretty major bug which prevented the list showing the correct branch of subpages when the start depth was greater than 1 (secondary level pages).

Now this is fixed you’ll be able to display a list of only tertiary level pages – Useful if you have a site with a horizontal navigation with drop down menus for secondary level navigation, and want to show and subpages of the secondary level as a list in your sidebar.

What’s more the plugin now includes a widget so you can easily add a list of subpages into your sidebar.

Widget Examples

The following configuration will display a list of secondary and tertiary level pages (depths 1 to 2) for the currently selected primary navigation item. The list of pages will show for all pages that are subpages (or sub-subpages) of that primary page.

The widget below will only display the tertiary level (depth 2) of navigation for subpages of the currently selected secondary level page.

Share:
  • email
  • Twitter
  • Digg
  • Slashdot
  • Google Bookmarks
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Ping.fm
  • Facebook
  • Technorati

2 Responses to “List Pages at Depth 1.1”

  1. Sandra Says:

    Ben,
    Thanks for this awesome plug-in!

    I have a question that’s probably pretty obvious, but…

    I’m using this plug-in on a page template. I want to use the plug-in to generate a list of childpages – in other words, secondary pages specific to the page the user is on.

    When I put the code in the template, it generates a list of subpages, which is awesome and works great. BUT… how do I change the header so it says something other than the generic “Pages” at the top of the listing?

    Thanks for any help, and again, thank you so much for this great plug-in! I’m using it on 3.0, BTW, and it seems to be working fine.

  2. Ben Says:

    Hi Sandra,

    It uses the same parameters as wp_list_pages so you should be able to use:

    list_pages_at_depth( array( 'title_li' => '' ) );

Leave a Reply