function shoestrap_secondary_navbar()
    {
        if (shoestrap_getVariable('secondary_navbar_toggle') != 0) {
            ?>

    <div class="<?php 
            echo shoestrap_container_class();
            ?>
">
      <header class="secondary navbar navbar-default <?php 
            echo shoestrap_navbar_class('secondary');
            ?>
" role="banner">
        <button data-target=".nav-secondary" data-toggle="collapse" type="button" class="navbar-toggle">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <?php 
            if (shoestrap_getVariable('navbar_secondary_social') != 0) {
                shoestrap_navbar_social_links();
            }
            ?>
        <nav class="nav-secondary navbar-collapse collapse" role="navigation">
          <?php 
            wp_nav_menu(array('theme_location' => 'secondary_navigation', 'menu_class' => shoestrap_nav_class_pull()));
            ?>
        </nav>
      </header>
    </div>
  
  <?php 
        }
    }
Exemplo n.º 2
0
<?php

/***********************/
/****  Overlay Nav  ****/
/***********************/
// Overlay
?>
<div class="overlay-nav" >
	<div class='inner'>
		<nav class="nav-main" role="navigation">
			<ul class='nav'>
			<?php 
// Render the menu
wp_nav_menu(array('theme_location' => 'primary_navigation', 'menu_class' => shoestrap_nav_class_pull(), 'container' => '', 'items_wrap' => '%3$s', 'depth' => 10));
?>
				        	
			</ul>
		</nav>
		
		<div class='overlay-search'>
			<form action="<?php 
echo home_url();
?>
" method="GET">
	    	<input type="text" name="s" value="" placeholder="<?php 
_e('Search', 'alleycat');
?>
 <?php 
bloginfo('name');
?>
" /> <button type="submit" id="searchsubmitnav" class="ac-transparent-btn searchsubmit"><i class="entypo-icon-search"></i></button>