Forums

Problems with Menu showing all page levels (3 posts)

  1. nygaardc
    Member
    Posted 3 months ago #

    Dear Forum, I hope you can help me...

    I have a menu, which shows ALL my pages. However, I would like it to show the top-level pages ONLY. I have searched many examples of code on how to call pages, exclude pages, etc, but this I cannot crack.

    Here is the simple code:

    ( <!--topnav menu-->
    <div class="topnav">

      <?php wp_list_pages('title_li='); ?>

    <div class="clr"></div>
    </div>
    <!--/topnav -->)

  2. ragzor
    Member
    Posted 3 months ago #

    there is an option on appearence>menus

  3. nygaardc
    Member
    Posted 3 months ago #

    Thanks, Ragzor.

    I'm afraid I cannot find that option ( under my current theme?). I hope you can give me a little more guidance.

    Thanks a lot.

Reply

You must log in to post.

About this Topic