There are 2 menu set in the wordpress site.
1. Top Menu
2. Middle Menu
Both of these menus are displaying properly.
In the Middle menu there are some child pages of some pages. The child pages are not displaying on mouse hover of the parent pages. I have used CSS based dropdown menu.
Here I have posted the codes of the 2 sections.
1. Code for Top Menu (No issue)
<div class="top_menu_div"> <ul> <?php wp_list_pages('orderby=name&link_before=<span>&link_after=</span>&title_li=&depth=1&include=3,5,7,9,11'); ?> </ul> </div>
2. Code for Middle Menu (Problem)
<div class="middle_menu_div"> <ul id="TJK_dropDownMenu"> <?php wp_list_pages('orderby=name&title_li=&sort_column=menu_order&include=13,15,17,19,21,23,25,26,28'); ?> </ul> </div>
Please take a look on section 2 codes and please help me with the code how to display the sub pages on this section. In this section I include those pages with the id which have sub pages.
Thanks in advance.
- The topic ‘SubMenu Problem’ is closed to new replies.