WordPress.org

Support

Support » How-To and Troubleshooting » hide sub pages

hide sub pages

  • I want to hide the sub pages on my site, this is the code that is on my site for the navigational bar

    <!– begin pages –>
    <ul class=”pages”>

    <?php dp_list_pages(); ?>

    <!– end pages –>

    Can anyone tell me what I have to add so that it only has the parent pages in the navigational bar.
    Thanks
    Andrea

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘hide sub pages’ is closed to new replies.
Skip to toolbar