Get help. Give help. A Web Design and Development Community.

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.

We have a pretty good* newsletter.