Guest User

Search field to primary menu Canvas Theme Woothemes

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