Advertisement
Guest User

Untitled

a guest
Feb 24th, 2014
598
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_template_part('templates/head'); ?>
  2. <body <?php body_class(); ?>>
  3.  
  4.   <!--[if lt IE 8]>
  5.    <div class="alert alert-warning">
  6.      <?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'roots'); ?>
  7.    </div>
  8.  <![endif]-->
  9.  
  10.   <?php
  11.    do_action('get_header');
  12.    // Use Bootstrap's navbar if enabled in config.php
  13.    if (current_theme_supports('bootstrap-top-navbar')) {
  14.      get_template_part('templates/header-top-navbar');
  15.    } else {
  16.      get_template_part('templates/header');
  17.    }
  18.  ?>
  19.  
  20.   <div class="wrap container" role="document">
  21.     <div class="content row row-offcanvas row-offcanvas-left">
  22.  
  23.       <nav class="col-sm-2 sidebar-offcanvas" role="navigation">
  24.         <?php
  25.          if (has_nav_menu('primary_navigation')) :
  26.            wp_nav_menu(array('theme_location' => 'primary_navigation', 'menu_class' => 'nav navbar-nav'));
  27.           endif;
  28.         ?>
  29.       </nav>
  30.  
  31.       <main class="main <?php echo roots_main_class(); ?>" role="main">
  32.         <?php include roots_template_path(); ?>
  33.       </main><!-- /.main -->
  34.       <?php if (roots_display_sidebar()) : ?>
  35.         <aside class="sidebar <?php echo roots_sidebar_class(); ?>" role="complementary">
  36.           <?php include roots_sidebar_path(); ?>
  37.         </aside><!-- /.sidebar -->
  38.       <?php endif; ?>
  39.     </div><!-- /.content -->
  40.   </div><!-- /.wrap -->
  41.  
  42.   <?php get_template_part('templates/footer'); ?>
  43.  
  44. </body>
  45. </html>
Advertisement
RAW Paste Data Copied
Advertisement