Advertisement
firoze

wordpress search form for bootstrap

Jul 20th, 2015
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. // get a nice search form for bootstrap search form
  2.  
  3. <form action="<?php bloginfo('url');?>" method="get" role="search" class="bs-example bs-example-form">
  4. <div class="input-group">
  5. <input style="height:33px;" type="text" class="form-control" name="s" placeholder="Search For">
  6. <span text="submit" class="input-group-addon">search<input style="height: 19px;
  7. margin: -4px 0 0 -48px;opacity: 0;" type="submit" value="Search" id="searchsubmit"></span>
  8. </div>
  9. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement