WordPress.org

Ready to get started?Download WordPress

Forums

hide sub pages (2 posts)

  1. studio868
    Member
    Posted 4 years ago #

    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

  2. Shane G.
    Member
    Posted 4 years ago #

    Hi,

    Check with this plugin:

    http://wordpress.org/extend/plugins/sub-pages/

    Thanks,

    Shane G.

Topic Closed

This topic has been closed to new replies.

About this Topic