Advertisement
Guest User

Untitled

a guest
Feb 24th, 2014
771
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <header class="banner navbar navbar-default navbar-static-top" role="banner">
  2.   <div class="container">
  3.     <div class="navbar-header">
  4.       <button type="button" class="navbar-toggle" data-toggle="offcanvas">
  5.         <span class="sr-only">Toggle navigation</span>
  6.         <span class="icon-bar"></span>
  7.         <span class="icon-bar"></span>
  8.         <span class="icon-bar"></span>
  9.       </button>
  10.       <a class="navbar-brand" href="<?php echo home_url(); ?>/"><?php bloginfo('name'); ?></a>
  11.     </div>
  12.  
  13.     <nav class="collapse navbar-collapse" role="navigation">
  14.       <?php
  15.        if (has_nav_menu('primary_navigation')) :
  16.          wp_nav_menu(array('theme_location' => 'primary_navigation', 'menu_class' => 'nav navbar-nav'));
  17.         endif;
  18.       ?>
  19.     </nav>
  20.   </div>
  21. </header>
Advertisement
RAW Paste Data Copied
Advertisement