Guest User

Untitled

a guest
Jan 21st, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. add_action('thesis_hook_header', 'menu');
  2. function menu() {
  3. global $mytheme; ?>
  4. <div class="ge-navigation">
  5. <div class="ge-navigation-item">
  6. <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'sf-menu','depth' => '0' ) ); // end top menu ?>
  7. </div>
  8. <div class="ge-phone">
  9. <h2><?php echo $mytheme['fone']; ?></h2>
  10. </div>
  11. </div>
  12. <div id="ge-sidebar">
  13. <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>
  14. </div>
  15. <div class="ge-sidebar-text">
  16. <p><?php bloginfo('description'); ?></p>
  17. </div>
  18. <div class="ge-search">
  19. <form action="<?php echo home_url( '/' ); ?>" id="ge-search-form" method="get" >
  20. <fieldset>
  21. <input type="text" value="Search" onfocus='if (this.value == "Search") {this.value = ""}' onblur='if (this.value == "") {this.value = "Search";}' name="s" id="search" />
  22. <button type="submit"><span>Search</span></button>
  23. </fieldset>
  24. </form>
  25. </div>
  26. <div class="sp-bl-navigation">
  27. <ul>
  28. <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?><?php endif; // end footer widget area ?>
  29. </ul>
  30. </div>
  31. </div>
  32. <?php
  33. }
Add Comment
Please, Sign In to add comment