Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.