How to create google site search to your website | Sanwebcorner

How to create google site search to your website

Google site search or google custom search is a simple way to create high level search effects to your website.Google provides the custom search engine to your website to help your visitors to find the information they're looking for. Google custom search is different from google web search, Google custom search provides the result only from your website based on the keywords entered by the customer.

Here we will see the step by step how to implement google custom search your website. Google also provides various of search techniques through the search engine. below is the simple search technique to get the search results from your website.

How to implement google custom search your website:

<form action="http://www.google.com/search" class="searchform" method="get"

name="searchform" target="_blank">
<input name="sitesearch" type="hidden" value="www.sanwebcorner.com">
<input autocomplete="on" class="form-controls search" name="q"

placeholder="Search in sanwebcorner.com" required="required"  type="text">
<button class="button" type="submit">Search</button>
</form>

But the above code display the search result in the google search engine. If you want to display the search result with in the website you should follow the below steps. This shows the search result in popup window.

Step1: Open https://cse.google.com/cse/ and Login Google Account.

Step2: Click Add Button you can get the following page


Step3: Add your website url in sites to search field

Step4: Click Create button you can get the below mentioned screenshot page



 Step5: Click Receive Code Button you can get the below script , you should add this code wherever you want the search box

If you want to customize the search box in different manner, you can go the look and feel tab in the left hand side and you can get the more option to customize the search box. you want the more options and documents you can visit this page 


I hope this post is very useful...


Post a Comment

Labels

360 degree view product image 3d rotate 3d text 3step-form Accordion menu ajax All Browsers Animated Background Gradient animation audio controller auto complete Best accordion menu bootstrap border bounce effect on hover Breadcrumb calculate age by dob calendar Captcha change image on mouse move color chooser countdown Counter on scroll Css css animation css buttons css hover css3 customized upload Button Date picker delete data from table Different scroll speed email otp verification email verifier Embed eventlist Expanding Menu feedbck form flash news section close button full screen menu Google custom search Google Maps Google reCAPTCHA Google site search gradient hide menu Horizontal News ticker Hover Htm Html html dropdown html form html5 html5 form validation Iframe image hover increment decrement textbox value based on select box Javascript Jquery js Layered image effect on mouse hover lock & unlock page scroll marquee marquee with close button mobile number validation mobile otp login Multi-level-drop-down-menu multi-level-form Multi-Step-form mysql News ticker on hover change text to image our team page password strength checker Photoshop PHP populate html selectbox Popup image on click the link pure css Question type form Random password Redirect page Based on the select box while submit the form responsive responsive menu responsive popup box Responsive Vertical Time line design rotate image selectbox based on select box simple coming soon page simple countdown based on end date simple typing effect slider sliding tab sms otp login statistic counter on scroll switch tag shape team member Time picker toggle toggle view transparent button underline animation up down slide validation vertical fixed sidebar Webtips Youtube