Support » Fixing WordPress » Pages and Sub Pages

  • I’m doing a site for a friend who’s a professional musician.
    I’m currently stuck on the pages list.
    One page on the list is ‘Discography’ and its subpages will be ‘as a producer’ and ‘as a musician’.

    The problem I’m having is that the subpages are showing on the page list in the ‘header’ part. How do I exclude the sub pages from showing in the list? I’ve tried the following code:

    <ul>
    <?php
    wp_list_pages('exclude=14,15' ); ?>
    </ul>

    It removed the subpages but it also messed up the page list from showing properly.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pages and Sub Pages’ is closed to new replies.