adding hooks & actions
This commit is contained in:
12
header.php
12
header.php
@@ -19,6 +19,7 @@
|
||||
<script>window.jQuery || document.write('<script src="<?php echo get_template_directory_uri(); ?>/js/libs/jquery-1.6.1.min.js">\x3C/script>')</script>
|
||||
|
||||
<?php wp_head(); ?>
|
||||
<?php roots_head(); ?>
|
||||
<?php if (get_option('roots_css_framework') === '1140') { ?>
|
||||
<script src="<?php echo get_template_directory_uri(); ?>/js/css3-mediaqueries.js"></script>
|
||||
<?php } ?>
|
||||
@@ -33,11 +34,11 @@
|
||||
<?php } ?>
|
||||
</head>
|
||||
<body <?php $page_slug = $post->post_name; body_class($page_slug); ?>>
|
||||
<?php roots_wrap_before(); ?>
|
||||
<div id="wrap" class="container" role="document">
|
||||
<?php if (get_option('roots_css_framework') === '1140') { ?>
|
||||
<div class="row">
|
||||
<?php } ?>
|
||||
<?php roots_header_before(); ?>
|
||||
<header id="banner" class="<?php echo roots_container_class; ?>" role="banner">
|
||||
<?php roots_header_inside(); ?>
|
||||
<div class="container">
|
||||
<a id="logo" href="<?php echo home_url(); ?>/"><img src="<?php echo get_template_directory_uri(); ?>/img/logo.png" width="300" height="75" alt="<?php bloginfo('name'); ?>"></a>
|
||||
<nav id="nav-main" role="navigation">
|
||||
@@ -48,7 +49,4 @@
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
<?php if (get_option('roots_css_framework') === '1140') { ?>
|
||||
</div><!-- /.row -->
|
||||
<div class="row">
|
||||
<?php } ?>
|
||||
<?php roots_header_after(); ?>
|
||||
|
||||
Reference in New Issue
Block a user