add google search code to search site only

1 replies
  • WEB DESIGN
  • |
i wish to add google search code to search site only

- search site or better multiple sites only, not the web
- no adsense on top

What would be the code for this search box ?
#add #code #google #search #site
  • Profile picture of the author Harrison Ortega
    To have the Google site search without ads you will need to pay for it. Starts from $100/year. http://www.google.com/sitesearch/

    If you decide to have the adsence though, then the code is
    Code:
    <form method="get" action="http://www.google.com/search">
    <input type="text"   name="q" size="31"maxlength="255" value="" />
    <input type="submit" value="Google Search" />
    <input type="radio"  name="sitesearch" value="" />
     The Web
    <input type="radio"  name="sitesearch" value="yoursiteaddress.com" checked /> This Site<br />
    </form>
    Signature
    NJ web design / NJ Web Designer. MY Wordpress portfolio. 10 years of HTML/CSS - 6 years developing professional Wordpress websites. Currently not available for services.
    {{ DiscussionBoard.errors[2673504].message }}

Trending Topics