Last active
August 29, 2015 14:28
-
-
Save roborracle/6bdfdd1e04cff4f9db88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove_action( 'genesis_after_header', 'genesis_do_nav' ); | |
remove_action( 'genesis_header', 'genesis_do_header' ); | |
function mysite_header(){ ?> | |
<div id="title-area"><div class="wrap"?> | |
<div class="one-sixth first mysite-title"> | |
<h1><a href="<?php bloginfo('url'); ?>"><img src="http://mysite.com/mysite/wp-content/themes/mysite_theme/images/mysite-logo.png" width="250" class="mysite-logo" title="<?php $bloginfo = get_bloginfo( $show, $filter ); echo $bloginfo; ?>" /></a></h1> | |
</div> | |
<div class="four-sixths mysite-nav"> | |
<nav class="nav-primary" role="navigation" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement"> | |
<div class="mysite-nav-wrap nav-primary"> | |
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'genesis-nav-menu' ) ); | |
?> | |
</nav> | |
</div> | |
<div class="one-sixth mysite-contact-info"> | |
<p><span class="contact-number">Call Us</span><br />XXX-XXX-XXXX</p> | |
</div> | |
</div> | |
</div> | |
<?php | |
} | |
add_action( 'genesis_header', 'mysite_header' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment