Advertisement
Guest User

WooCanvas header search field in nav bar

a guest
Dec 25th, 2013
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. add_action( 'woo_header_inside', 'woo_custom_add_searchform', 10 );
  2.  
  3. function woo_custom_add_searchform () {
  4. echo '<div id="header-search" class="header-search fr">' . "
  5. ";
  6. get_template_part( 'search', 'form' );
  7. echo '</div><!--/#header-search .header-search fr-->' . "
  8. ";
  9. } // End woo_custom_add_searchform()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement