title: wordpress site navigation menus
body: <p>I am creating a wordpress site using custom theme. I want to set the home link for my theme's index.php file. when i am using permalink it changes link for all the other links and not working. i am using wp_nav_menu to get the menus in header.php. How can i assign the href to index.php for home menu. can any one help? thank you in advance.</p>
  
  <p>Header.php:
  <div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
    &lt;head&gt;
      &lt;meta charset="&lt;?php bloginfo("charset"); ?&gt;"&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
      &lt;meta name="description" content=""&gt;
      &lt;meta name="author" content=""&gt;
      &lt;link rel="icon" href="../../favicon.ico"&gt;
  
      &lt;title&gt;&lt;?php bloginfo('name'); ?&gt;&lt;/title&gt;
  
      &lt;link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,800' rel='stylesheet' type='text/css'&gt;
      &lt;link href='http://fonts.googleapis.com/css?family=Lato:400,700,300' rel='stylesheet' type='text/css'&gt;
      
  
      &lt;!-- Bootstrap core CSS --&gt;
      &lt;link rel="stylesheet" type="text/css" href="&lt;?php bloginfo('stylesheet_url'); ?&gt;"&gt;
      
      
  
       &lt;/head&gt;
  
    &lt;body&gt;
  
      &lt;!-- Static navbar --&gt;
      &lt;div class="navbar navbar-default navbar-static-top" role="navigation"&gt;
        &lt;div class="container h-sectionHeader"&gt;
          &lt;div class="navbar-header"&gt;
            &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"&gt;
              &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
              &lt;span class="icon-bar"&gt;&lt;/span&gt;
              &lt;span class="icon-bar"&gt;&lt;/span&gt;
              &lt;span class="icon-bar"&gt;&lt;/span&gt;
            &lt;/button&gt;
  
            &lt;a class="navbar-brand" href="index.php"&gt;&lt;img src="&lt;?php echo esc_attr( get_option('logo-setting') ); ?&gt;" class="logo" alt="logo systenics"&gt;&lt;/a&gt;
          &lt;/div&gt;
  &lt;!--         &lt;?php bloginfo('template_directory'); ?&gt;/images/logo-systenics.png
   --&gt;        &lt;div class="navbar-collapse collapse"&gt;
                 &lt;?php 
  $defaults = array(
    'theme_location'  =&gt; 'primary',
    'menu'            =&gt; '',
    'container'       =&gt; 'div',
    'container_class' =&gt; '',
    'container_id'    =&gt; '',
    'menu_class'      =&gt; 'nav navbar-nav',
    'menu_id'         =&gt; '',
    'echo'            =&gt; true,
    'fallback_cb'     =&gt; 'wp_page_menu',
    'before'          =&gt; '',
    'after'           =&gt; '',
    'link_before'     =&gt; '',
    'link_after'      =&gt; '',
    'items_wrap'      =&gt; '&lt;ul id="%1$s" class="%2$s"&gt;%3$s&lt;/ul&gt;',
    'depth'           =&gt; 0,
    'walker'          =&gt; ''
  );
  
  wp_nav_menu( $defaults ); ?&gt;
           &lt;/div&gt;&lt;!--/.nav-collapse --&gt;
        &lt;/div&gt;
      &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>