Advertisement
zanpo

WooCommerce searchform.php

Jul 22nd, 2014
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.50 KB | None | 0 0
  1. <form role="search" method="get" id="searchform" action="<?php echo home_url('/'); ?>">
  2.     <div class="search-box">       
  3.         <div class="search-input">
  4.             <input type="text" value="" name="s" id="s" placeholder="<?php //_e('Search', 'jawtemplates'); ?>">
  5.         </div>
  6.  
  7.         <div class="search-button">
  8.             <button type="submit" id="searchsubmit" value="" class=""><span></span></button>
  9.         </div>
  10.     </div>
  11.     <input type="hidden" name="post_type" value="product" />
  12. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement