I can’t seem to know what I’m doing wrong. The dropdown navigation appears when I’m using the default wordpres twentyeleven theme but when I swith to my theme, the dropdown doesn’t appear. This is what I’m using
<div id="nav" class="menutwo">
<ul id="myStyle">
<?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?>
</ul>
<br style="clear: left" />
</div>
I made 3 pages (boo, boo1, boo2) at the wordpress back office and made them children of (foo), yet only foo is appearing but the children (boo, boo1, boo2) are not appearing. I looked it up in the wordpress codex but my problem was not solved :(. Why is the problem from? I’ve jquery included btw :/
might be buggy php script. use this:-