
Untitled
By: a guest on
Jun 22nd, 2012 | syntax:
None | size: 1.54 KB | hits: 14 | expires: Never
/********************************************************************
Custom Header
********************************************************************/
add_action('thesis_hook_header', 'menu');
function menu() {
global $mytheme; ?>
<div class="ge-navigation">
<div class="ge-navigation-item">
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'sf-menu','depth' => '0' ) ); // end top menu ?>
</div>
<div class="ge-phone">
<h2><?php echo $mytheme['fone']; ?></h2>
</div>
</div>
<div id="ge-sidebar">
<div class="ge-logo"><a href="<?php echo home_url( '/' ); ?>"><img src="<?php echo $mytheme['logo']; ?>" alt="<?php bloginfo('description'); ?>" width="87" height="41" /></a>
</div>
<div class="ge-sidebar-text">
<p><?php bloginfo('description'); ?></p>
</div>
<div class="ge-search">
<form action="<?php echo home_url( '/' ); ?>" id="ge-search-form" method="get" >
<fieldset>
<input type="text" value="Search" onfocus='if (this.value == "Search") {this.value = ""}' onblur='if (this.value == "") {this.value = "Search";}' name="s" id="search" />
<button type="submit"><span>Search</span></button>
</fieldset>
</form>
</div>
<div class="sp-bl-navigation">
<ul>
<?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?><?php endif; // end footer widget area ?>
</ul>
</div>
</div>
<?php
}