Problems with Menu showing all page levels
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Problems with Menu showing all page levels’ is closed to new replies.