SHARE
TWEET

Add Search Box to Header

jamiemarsland Jun 18th, 2013 3,581 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top