Sub Menu's are not coming under main menu I am using this code to fetch menu's in drupal. I have given Home as parent menu and other are sub menu's like submenu1, submenu2 etc. But in front end they are not coming under Home menu. Only Home menu appear on front end. 

&lt;?php if ($main_menu): ?&gt;
     &lt;?php
          // This code snippet is hard to modify. We recommend turning off the
          // "Main menu" on your sub-theme's settings form, deleting this PHP
          // code block, and, instead, using the "Menu block" module.
          // @see https://drupal.org/project/menu_block
          print theme('links__system_main_menu', array(
            'links' =&gt; $main_menu,
            'attributes' =&gt; array(
              'id'=&gt;'s5_nav',
              'class' =&gt; array('menu'),
            ),

          )); 
          ?&gt;
    &lt;?php endif; ?&gt;
You can use Nice Menus to solve your issue.