• Resolved tomdimmock

    (@tomdimmock)


    Hi there,

    I am using the Andreas01 template for my New Blog-Site. There are some pages that I don’t want to appear on the main menu. I had a look on the codex part of this site here it gave me the following…

      <?php wp_list_pages(‘exclude=17,38’ ); ?>

    But I don’t know where to put this… Please can somebody help? My blog is at http://blog.tomdimmock.co.uk

    Tom

Viewing 4 replies - 1 through 4 (of 4 total)
  • Seems the header.php script refers to wp_list_pages.

    Thread Starter tomdimmock

    (@tomdimmock)

    Thanks Michael,

    So I have

    <li class="<?php echo $highlight; ?>"><a href="<?php bloginfo('url'); ?>">Home</a></li>
    <?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
    </ul>

    How do I exclude page ID 13…..or would i block its name “hidden”?

    Thanks
    Tom

    P.S. My Blog is now at http://www.tomdimmock.co.uk

    <li class="<?php echo $highlight; ?>"><a href="<?php bloginfo('url'); ?>">Home</a></li>
    <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=&exclude=13'); ?>
    </ul>

    Thread Starter tomdimmock

    (@tomdimmock)

    I have tried the above and it works!!!

    Thank you very much lleger and Micheal H

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Andreas01 Menu’ is closed to new replies.