disable main menu from home page

Discussion in 'Regal WordPress Theme' started by mybizle, Oct 19, 2013.

  1. mybizle

    mybizle Member

    Joined:
    Jan 1, 2012
    Messages:
    86
    Likes Received:
    1
    is it possible to disable main menu only from home page??? menu should be visible all other pages.


    thanks
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    For this open header.php file and replace code given below with the code shown in the image.

    Code:
    <!--Start Menu_Wrapper-->
    <div class="menu_wrapper">
    <?php if( !is_home() ) : ?>
    <div id="MainNav">
    <a href="#" class="mobile_nav closed">Pages Navigation Menu<span></span></a>
    <?php inkthemes_nav(); ?>
    </div>
    <?php endif; ?>
    </div>
    <!--End Menu Wrapper-->
     

    Attached Files:

Share This Page