• nygaardc

    (@nygaardc)


    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 –>)

Viewing 2 replies - 1 through 2 (of 2 total)
  • ragzor

    (@raghav9999)

    there is an option on appearence>menus

    Thread Starter nygaardc

    (@nygaardc)

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problems with Menu showing all page levels’ is closed to new replies.