Want more features on Pastebin? Sign Up, it's FREE!

Search Form

By: STATEDLIGHT on Jan 21st, 2013  |  syntax: None  |  size: 0.31 KB  |  views: 4  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <form method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
  2.   <div>
  3.     <input type="text" value="" name="s" id="s" placeholder="Search..." />
  4.     <input type="image" src="<?php echo get_template_directory_uri();?>/images/search.png" id="searchsubmit" value="Search" alt="Search" />
  5.   </div>
  6. </form>
clone this paste RAW Paste Data