How Can I Add a Search Bar to My Website

Need help? Please give a detailed explanation of your problem.
Post Reply
Signsetc122051
Posts: 5
meble kuchenne Mikołów Knurów Czechowice-Dziedzice
Joined: Tue Oct 06, 2015 9:33 pm
Website: www.signsetccolorado.com

How Can I Add a Search Bar to My Website

Post by Signsetc122051 »

I would like to add a search bar to my website. How would I go about doing that?

Thanks!
Amberley
User avatar
Paige
Support Team
Support Team
Posts: 461
Joined: Fri Feb 24, 2012 3:41 am
Website: www.allprowebtools.com
Location: Fort Collins, CO
Contact:

Re: How Can I Add a Search Bar to My Website

Post by Paige »

Here is the code to insert a search box anywhere on your site

Code: Select all

<form role="search" action="/search.php" method="POST">
  <div class="input-group">
      <input type="text" class="form-control" placeholder="Search" name="query">
      <div class="input-group-btn">
          <button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
      </div>
  </div>
</form>
Post Reply