(2-level-) menu problems
-
I need folowing html-code for my jquery-menu (2-level) in header.php:
<li><a href="#" class="parent"><span>level1-titel1</span></a> <div> <ul> <li><a href="#" class="child"><span>level2-titel1</span></a> </li> </ul> </div> </li> <li><a href="#" class="parent"><span>level1-titel2</span></a> </li>
I use wp-function:
<?php wp_list_pages('title_li=&link_before=<span>&link_after=</span>'); ?>
But I don’t get the div-tags around the ul-tags of the children-menu-items.
Who can help me out ?
- The topic ‘(2-level-) menu problems’ is closed to new replies.