The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

wordpress wp_list_pages help

  • # October 4, 2009 at 12:22 am

    Is there a way to exclude child pages using

    < ?php wp_list_pages(); ?>


    # October 4, 2009 at 1:21 am

    If I’m not mistaken you would use the depth parameter, with a depth of 1:

    < ?php wp_list_pages('depth=1'); ?>

    You can see all the parameters in the WordPress Codex,

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed