WordPress.org

Forums

SubMenu Problem (2 posts)

  1. yoursanjay
    Member
    Posted 5 years ago #

    Hey,

    There are 2 menu set in the wordpress site.
    1. Top Menu
    2. Middle Menu

    Both of these menus are displaying properly.
    Issue:
    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.

  2. yoursanjay
    Member
    Posted 5 years ago #

    Have I put this topic in wrong category?
    Please suggest.

Topic Closed

This topic has been closed to new replies.

About this Topic