adding hooks & actions

This commit is contained in:
Ben Word
2011-05-26 00:27:06 -06:00
parent c2f44c8422
commit f3c1b46d18
21 changed files with 238 additions and 77 deletions

View File

@@ -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(); ?>